Sha256: 7d7d747c9017c1e38919aee08f234556ebb7a26c06a58eb7bd00d9357647baf6
Contents?: true
Size: 553 Bytes
Versions: 30
Compression:
Stored size: 553 Bytes
Contents
# frozen_string_literal: true module Cmdlet # 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 < 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 LESS THAN or EQUAL TO right hand side def call(lhs, rhs) lhs <= rhs end end end end
Version data entries
30 entries across 30 versions & 1 rubygems