lib/matchers/atleast_matcher.riml
class AtleastMatcher
defm match(expected, actual)
return actual >= expected
end
defm failure_message_for_match(expected, actual)
return "expected “#{actual}” to be greater than or equal to “#{expected}”"
end
defm failure_message_for_mismatch(expected, actual)
return "expected “#{actual}” to not be greater than or equal to “#{expected}”"
end
end