# File lib/algebrick/matchers/abstract_logic.rb, line 18 def self.call(*matchers) new *matchers end
# File lib/algebrick/matchers/abstract_logic.rb, line 24 def initialize(*matchers) @matchers = matchers.each { |m| matchable! m } end
# File lib/algebrick/matchers/abstract_logic.rb, line 32 def ==(other) other.kind_of? self.class and self.matchers == other.matchers end
# File lib/algebrick/matchers/abstract_logic.rb, line 28 def children find_children matchers end