Sha256: 16da9319bf5de0444cbfea4e27cf0f97cf28a08dfcd7d41fdc15fe27cb8b51df

Contents?: true

Size: 463 Bytes

Versions: 24

Compression:

Stored size: 463 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
      # Gt: Return true if left hand side GREATER THAN right hand side
      class Gt < Handlebarsjs::BaseHelper
        register_cmdlet(Cmdlet::Comparison::Gt)

        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

Version Path
handlebarsjs-0.14.2 lib/handlebarsjs/helpers/comparison/gt.rb
handlebarsjs-0.14.1 lib/handlebarsjs/helpers/comparison/gt.rb
handlebarsjs-0.14.0 lib/handlebarsjs/helpers/comparison/gt.rb
handlebarsjs-0.13.1 lib/handlebarsjs/helpers/comparison/gt.rb
handlebarsjs-0.13.0 lib/handlebarsjs/helpers/comparison/gt.rb
handlebarsjs-0.12.0 lib/handlebarsjs/helpers/comparison/gt.rb
handlebarsjs-0.11.3 lib/handlebarsjs/helpers/comparison/gt.rb
handlebarsjs-0.11.2 lib/handlebarsjs/helpers/comparison/gt.rb
handlebarsjs-0.11.1 lib/handlebarsjs/helpers/comparison/gt.rb
handlebarsjs-0.11.0 lib/handlebarsjs/helpers/comparison/gt.rb
handlebarsjs-0.10.0 lib/handlebarsjs/helpers/comparison/gt.rb
handlebarsjs-0.9.0 lib/handlebarsjs/helpers/comparison/gt.rb
handlebarsjs-0.8.0 lib/handlebarsjs/helpers/comparison/gt.rb
handlebarsjs-0.7.0 lib/handlebarsjs/helpers/comparison/gt.rb
handlebarsjs-0.6.3 lib/handlebarsjs/helpers/comparison/gt.rb
handlebarsjs-0.6.2 lib/handlebarsjs/helpers/comparison/gt.rb
handlebarsjs-0.6.1 lib/handlebarsjs/helpers/comparison/gt.rb
handlebarsjs-0.6.0 lib/handlebarsjs/helpers/comparison/gt.rb
handlebarsjs-0.5.7 lib/handlebarsjs/helpers/comparison/gt.rb
handlebarsjs-0.5.6 lib/handlebarsjs/helpers/comparison/gt.rb