Sha256: f0f8013283b13209a90f69310bbc8bd7efbdba42413fbd601e46cdc8691e3a4f
Contents?: true
Size: 318 Bytes
Versions: 1
Compression:
Stored size: 318 Bytes
Contents
module Predicator module Predicates class Relation attr_reader :left, :right def initialize left, right @left, @right = left, right end def == other other.kind_of?(self.class) && other.left == left && other.right == right end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
predicator-0.3.0 | lib/predicator/predicates/relation.rb |