Class: Cmdlet::Comparison::Lte

Inherits:
BaseCmdlet show all
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

Methods inherited from BaseCmdlet

#tokenizer

Instance Method Details

#call(lhs, rhs) ⇒ String



12
13
14
# File 'lib/cmdlet/comparison/lte.rb', line 12

def call(lhs, rhs)
  lhs <= rhs
end