lib/bogus/responds_to_everything.rb in bogus-0.0.4 vs lib/bogus/responds_to_everything.rb in bogus-0.1.0
- old
+ new
@@ -1,11 +1,18 @@
module Bogus
class RespondsToEverything
+ include FakeObject
+ include RecordInteractions
+
+ def initialize
+ __shadow__
+ end
+
def respond_to?(method)
true
end
def method_missing(name, *args, &block)
- self
+ __record__(name, *args, &block)
end
end
end