class Algebrick::Matchers::Many

Public Instance Methods

==(other) click to toggle source
# File lib/algebrick/matchers/many.rb, line 26
def ==(other)
  other.kind_of? self.class
end
children() click to toggle source
# File lib/algebrick/matchers/many.rb, line 18
def children
  []
end
to_s() click to toggle source
# File lib/algebrick/matchers/many.rb, line 22
def to_s
  "*#{assign_to_s}any"
end

Protected Instance Methods

matching?(other) click to toggle source
# File lib/algebrick/matchers/many.rb, line 32
def matching?(other)
  true
end