method
new
new(receiver=nil, message=nil, &block)
public
Hide source
# File lib/spec/matchers/change.rb, line 6 def initialize(receiver=nil, message=nil, &block) @message = message || "result" @value_proc = block || lambda {receiver.__send__(message)} @to = @from = @minimum = @maximum = @amount = nil end