Module: Bogus::RecordInteractions

Included in:
Fake, Fake, RespondsToEverything
Defined in:
lib/bogus/stubbing/record_interactions.rb

Instance Method Summary collapse

Instance Method Details

#__record__(method, *args, &block) ⇒ Object



7
8
9
# File 'lib/bogus/stubbing/record_interactions.rb', line 7

def __record__(method, *args, &block)
  __shadow__.run(method, *args, &block)
end

#__shadow__Object



3
4
5
# File 'lib/bogus/stubbing/record_interactions.rb', line 3

def __shadow__
  @__shadow__ ||= Shadow.new
end