Module: Ramcrest::Comparable
- Defined in:
- lib/ramcrest/comparable.rb
Defined Under Namespace
Classes: Matcher
Class Method Summary collapse
- .greater_or_equal_to(expected) ⇒ Object
- .greater_than(expected) ⇒ Object
- .less_or_equal_to(expected) ⇒ Object
- .less_than(expected) ⇒ Object
Class Method Details
.greater_or_equal_to(expected) ⇒ Object
11 12 13 |
# File 'lib/ramcrest/comparable.rb', line 11 def greater_or_equal_to(expected) Matcher.new("greater than or equal to", :>=, expected) end |
.greater_than(expected) ⇒ Object
7 8 9 |
# File 'lib/ramcrest/comparable.rb', line 7 def greater_than(expected) Matcher.new("greater than", :>, expected) end |