DataMapper::Adapters::AbstractAdapter
# File lib/dm-core/spec/lib/counter_adapter.rb, line 24 def initialize(adapter) @counts = Hash.new { |hash, key| hash[key] = 0 } @adapter = adapter @count = 0 end
# File lib/dm-core/spec/lib/counter_adapter.rb, line 14 def instance_of?(klass) super || @adapter.instance_of?(klass) end
# File lib/dm-core/spec/lib/counter_adapter.rb, line 10 def kind_of?(klass) super || @adapter.kind_of?(klass) end
# File lib/dm-core/spec/lib/counter_adapter.rb, line 18 def respond_to?(method, include_private = false) super || @adapter.respond_to?(method, include_private) end
[Validate]
Generated with the Darkfish Rdoc Generator 2.