Object
Class to handle operator expectations.
13.should == 13 "hello".length.should_not == 2
# File lib/matchy/built_in/operator_expectations.rb, line 29 29: def fail!(operator) 30: flunk @match ? failure_message(operator) : negative_failure_message(operator) 31: end
# File lib/matchy/built_in/operator_expectations.rb, line 33 33: def failure_message(operator) 34: "Expected #{@receiver.inspect} to #{operator} #{@expected.inspect}." 35: end
Disabled; run with --debug to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.