# File lib/flexmock.rb, line 107
107:   def method_missing(sym, *args, &block)
108:     mock_wrap do
109:       if handler = @expectations[sym]
110:         args << block  if block_given?
111:         handler.call(*args)
112:       else
113:         super(sym, *args, &block)  unless @ignore_missing
114:       end
115:     end
116:   end