Class: SimplePattern::All
- Inherits:
-
Array
- Object
- Array
- SimplePattern::All
- Defined in:
- lib/simple_pattern.rb
Instance Method Summary collapse
Instance Method Details
#===(other) ⇒ Object
12 13 14 |
# File 'lib/simple_pattern.rb', line 12 def ===(other) all? {|a| a === other } end |