BasicObject
@private
# File lib/shoulda/matchers/doublespeak/object_double.rb, line 13 def calls_to(method_name) @calls_by_method_name[method_name] || [] end
# File lib/shoulda/matchers/doublespeak/object_double.rb, line 21 def method_missing(method_name, *args, &block) calls << MethodCallWithName.new(method_name, args, block) (calls_by_method_name[method_name] ||= []) << MethodCall.new(args, block) nil end
Generated with the Darkfish Rdoc Generator 2.