The path used to require the in memory adapter
@see DataMapper.setup
@return [String]
the path used to require the desired in memory adapter
@api semipublic
# File lib/dm-core/adapters.rb, line 40 def self.in_memory_adapter_path @in_memory_adapter_path ||= 'dm-core/adapters/in_memory_adapter' end
The path used to require the in memory adapter
Set this if you want to register your own adapter to be used when you specify an 'in_memory' connection during
@see DataMapper.setup
@param [String] path
the path used to require the desired in memory adapter
@api semipublic
# File lib/dm-core/adapters.rb, line 28 def self.in_memory_adapter_path=(path) @in_memory_adapter_path = path end
Set up an adapter for a storage engine
@see DataMapper.setup
@api private
# File lib/dm-core/adapters.rb, line 11 def self.new(repository_name, options) options = normalize_options(options) adapter_class(options.fetch(:adapter)).new(repository_name, options) end
Generated with the Darkfish Rdoc Generator 2.