# File lib/mspec/matchers/base.rb, line 61 def <(expected) if @actual < expected SpecExpectation.fail_with("Expected #{@actual.pretty_inspect}", "not to be less than #{expected.pretty_inspect}") end end
# File lib/mspec/matchers/base.rb, line 68 def <=(expected) if @actual <= expected SpecExpectation.fail_with("Expected #{@actual.pretty_inspect}", "not to be less than or equal to #{expected.pretty_inspect}") end end
# File lib/mspec/matchers/base.rb, line 54 def ==(expected) if @actual == expected SpecExpectation.fail_with("Expected #{@actual.pretty_inspect}", "not to equal #{expected.pretty_inspect}") end end
# File lib/mspec/matchers/base.rb, line 89 def =~(expected) if @actual =~ expected SpecExpectation.fail_with("Expected #{@actual.pretty_inspect}", "not to match #{expected.pretty_inspect}") end end
Generated with the Darkfish Rdoc Generator 2.