Sha256: 6d6b8ef0867988591deed1cd5b753b78c1e14bdf4d2bd3fa850b40e7e45fec21
Contents?: true
Size: 475 Bytes
Versions: 24
Compression:
Stored size: 475 Bytes
Contents
# frozen_string_literal: true module Handlebarsjs module Helpers # Comparison helpers, eg. or, and, equal, not equal, less than, greater than etc. module Comparison # Lte: Return true if left hand side LESS THAN or EQUAL TO right hand side class Lte < Handlebarsjs::BaseHelper register_cmdlet(Cmdlet::Comparison::Lte) def to_proc ->(lhs, rhs, _opts) { wrapper(cmdlet.call(lhs, rhs)) } end end end end end
Version data entries
24 entries across 24 versions & 1 rubygems