Method: Expectations::MockRecorder#method_missing

Defined in:
lib/expectations/mock_recorder.rb

#method_missing(sym, *args) ⇒ Object



12
13
14
15
16
# File 'lib/expectations/mock_recorder.rb', line 12

def method_missing(sym, *args)
  super if method_stack.empty?
  method_stack << [sym, args]
  self
end