Sha256: 66921331f48bd4a804d3ecd01cd872c9920289dbb702e1f18f26f1a24dbbb744
Contents?: true
Size: 472 Bytes
Versions: 24
Compression:
Stored size: 472 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 # Default: Return true if **all of** the given values are truthy. class Default < Handlebarsjs::BaseHelper register_cmdlet(Cmdlet::Comparison::Default) def to_proc ->(*values, _opts) { wrapper(cmdlet.call(*values)) } end end end end end
Version data entries
24 entries across 24 versions & 1 rubygems