Module: Iode::Core::Comparisons
- Defined in:
- lib/iode/core/comparisons.rb
Instance Method Summary collapse
- #<(a, b) ⇒ Object
- #==(a, b) ⇒ Object (also: #=)
- #>(a, b) ⇒ Object
Instance Method Details
#<(a, b) ⇒ Object
26 27 28 |
# File 'lib/iode/core/comparisons.rb', line 26 def <(a, b) a < b end |
#==(a, b) ⇒ Object Also known as: =
30 31 32 |
# File 'lib/iode/core/comparisons.rb', line 30 def ==(a, b) a == b end |
#>(a, b) ⇒ Object
22 23 24 |
# File 'lib/iode/core/comparisons.rb', line 22 def >(a, b) a > b end |