Class: Case::All
- Inherits:
-
Impl::Operator
- Object
- Impl::Operator
- Case::All
- Defined in:
- lib/case.rb
Instance Method Summary collapse
Methods inherited from Impl::Operator
Constructor Details
This class inherits a constructor from Case::Impl::Operator
Instance Method Details
#===(obj) ⇒ Object
65 66 67 |
# File 'lib/case.rb', line 65 def ===(obj) @patterns.all? { |p| p === obj } end |