Sha256: 3f50e120d5eb80c5a23f0561d50871da1df036fe75c899c3e9f347407282d3d8
Contents?: true
Size: 520 Bytes
Versions: 4
Compression:
Stored size: 520 Bytes
Contents
module Casino class Intersection module Match class Lesser < Greater def eligible? %w($lt $lte).include? key end def evaluate lesser_than? ? lesser_than! : lesser_than_or_equal! end private def lesser_than? key == '$lt' end def lesser_than! evolved_value < evolved_field end def lesser_than_or_equal! evolved_value <= evolved_field end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems