This shouldn’t have been as difficult to find as it was, so I figured I’d better throw it somewhere.
OPS = {
"=" => lambda { |v, r| v == r },
"!=" => lambda { |v, r| v != r },
[...]
This shouldn’t have been as difficult to find as it was, so I figured I’d better throw it somewhere.
OPS = {
"=" => lambda { |v, r| v == r },
"!=" => lambda { |v, r| v != r },
[...]