Class: Cmdlet::Comparison::Lte
- Inherits:
-
BaseCmdlet
- Object
- BaseCmdlet
- Cmdlet::Comparison::Lte
- Defined in:
- lib/cmdlet/comparison/lte.rb
Overview
Lte: Return true if left hand side LESS THAN or EQUAL TO right hand side
Instance Method Summary collapse
-
#call(lhs, rhs) ⇒ String
Truthy value if left hand side LESS THAN or EQUAL TO right hand side.
Methods inherited from BaseCmdlet
Instance Method Details
#call(lhs, rhs) ⇒ String
Returns truthy value if left hand side LESS THAN or EQUAL TO right hand side.
12 13 14 |
# File 'lib/cmdlet/comparison/lte.rb', line 12 def call(lhs, rhs) lhs <= rhs end |