Class: Pattern
Instance Method Summary collapse
Methods inherited from Array
Instance Method Details
#===(other) ⇒ Object
22 23 24 |
# File 'lib/colorable/system_extension.rb', line 22 def ===(other) zip(other).all? { |a, b| a === b } end |