Sha256: 0690ba843c0cc58c8dc63d401e5e6b7b8bfde3b88347a3b838b3a3a69cb881b2

Contents?: true

Size: 389 Bytes

Versions: 29

Compression:

Stored size: 389 Bytes

Contents

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

Version data entries

29 entries across 29 versions & 1 rubygems

Version Path
speckle-0.2.0 lib/matchers/atleast_matcher.riml
speckle-0.1.31 lib/matchers/atleast_matcher.riml
speckle-0.1.30 lib/matchers/atleast_matcher.riml
speckle-0.1.29 lib/matchers/atleast_matcher.riml
speckle-0.1.28 lib/matchers/atleast_matcher.riml
speckle-0.1.27 lib/matchers/atleast_matcher.riml
speckle-0.1.26 lib/matchers/atleast_matcher.riml
speckle-0.1.25 lib/matchers/atleast_matcher.riml
speckle-0.1.24 lib/matchers/atleast_matcher.riml
speckle-0.1.23 lib/matchers/atleast_matcher.riml
speckle-0.1.22 lib/matchers/atleast_matcher.riml
speckle-0.1.21 lib/matchers/atleast_matcher.riml
speckle-0.1.20 lib/matchers/atleast_matcher.riml
speckle-0.1.19 lib/matchers/atleast_matcher.riml
speckle-0.1.18 lib/matchers/atleast_matcher.riml
speckle-0.1.17 lib/matchers/atleast_matcher.riml
speckle-0.1.16 lib/matchers/atleast_matcher.riml
speckle-0.1.15 lib/matchers/atleast_matcher.riml
speckle-0.1.14 lib/matchers/atleast_matcher.riml
speckle-0.1.13 lib/matchers/atleast_matcher.riml