Class: Handlebarsjs::Helpers::Comparison::Lte
- Inherits:
-
BaseHelper
- Object
- BaseHelper
- Handlebarsjs::Helpers::Comparison::Lte
- Defined in:
- lib/handlebarsjs/helpers/comparison/lte.rb
Overview
Lte: Return true if left hand side LESS THAN or EQUAL TO right hand side
Instance Attribute Summary
Attributes inherited from BaseHelper
#block, #cmdlet, #parameter_names, #safe
Instance Method Summary collapse
Methods inherited from BaseHelper
#initialize, register_cmdlet, #wrapper
Constructor Details
This class inherits a constructor from Handlebarsjs::BaseHelper
Instance Method Details
#to_proc ⇒ Object
11 12 13 |
# File 'lib/handlebarsjs/helpers/comparison/lte.rb', line 11 def to_proc ->(lhs, rhs, _opts) { wrapper(cmdlet.call(lhs, rhs)) } end |