# File lib/flexmock/core.rb, line 98 98: def method_missing(sym, *args, &block) 99: mock_wrap do 100: if handler = @expectations[sym] 101: args << block if block_given? 102: handler.call(*args) 103: else 104: super(sym, *args, &block) unless @ignore_missing 105: end 106: end 107: end