class Algebrick::Matchers::And
Public Instance Methods
to_s()
click to toggle source
# File lib/algebrick/matchers/and.rb, line 18 def to_s matchers.join ' & ' end
Protected Instance Methods
matching?(other)
click to toggle source
# File lib/algebrick/matchers/and.rb, line 24 def matching?(other) matchers.all? { |m| m === other } end