# File lib/flexmock/recorder.rb, line 59 59: def method_missing(sym, *args, &block) 60: expectation = @mock.should_receive(sym).and_return(&block) 61: if strict? 62: args = args.collect { |arg| eq(arg) } 63: expectation.with(*args).ordered.once 64: else 65: expectation.with(*args) 66: end 67: expectation 68: end