Class: SimplePattern::Not
- Inherits:
-
Array
- Object
- Array
- SimplePattern::Not
- Defined in:
- lib/simple_pattern.rb
Instance Method Summary collapse
Instance Method Details
#===(other) ⇒ Object
28 29 30 |
# File 'lib/simple_pattern.rb', line 28 def ===(other) !any? {|a| a === other } end |