# File lib/dm-transactions.rb, line 404 def self.include_transaction_api(const_name) require transaction_extensions(const_name) if Transaction.const_defined?(const_name) adapter = const_get(const_name) adapter.send(:include, transaction_module(const_name)) end rescue LoadError # Silently ignore the fact that no adapter extensions could be required # This means that the adapter in use doesn't support transactions end
Generated with the Darkfish Rdoc Generator 2.