Sha256: 63953429135c1ac66dd286df7c1d0aad53276c8dbbbc63109254322c3598d528
Contents?: true
Size: 531 Bytes
Versions: 30
Compression:
Stored size: 531 Bytes
Contents
# frozen_string_literal: true module Cmdlet # 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 < Cmdlet::BaseCmdlet # # @param [Object] lhs - lhs - left hand side value # @param [Object] rhs - rhs - right hand side value # @return [String] truthy value if left hand side GREATER THAN right hand side def call(lhs, rhs) lhs > rhs end end end end
Version data entries
30 entries across 30 versions & 1 rubygems