Sha256: c07a2c84aaabbfefdbaa066456cb7904cfd64b7b61b52c90e18510d26afe8633
Contents?: true
Size: 250 Bytes
Versions: 8
Compression:
Stored size: 250 Bytes
Contents
# frozen_string_literal: true require_relative "binary_operator" class GreaterThanOrEqualOperator include BinaryOperator def binary(evaluator, lhs, rhs) result = evaluator.compare(lhs, rhs) !result.nil? ? (result >= 0) : nil end end
Version data entries
8 entries across 8 versions & 1 rubygems