Sha256: b08af7df24a10ff8a5f2d96203210e4beabd5b34a042d163f671f331304abc97
Contents?: true
Size: 238 Bytes
Versions: 8
Compression:
Stored size: 238 Bytes
Contents
# frozen_string_literal: true require_relative "binary_operator" class EqualsOperator 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