Class: Case::All

Inherits:
Impl::Operator show all
Defined in:
lib/case.rb

Instance Method Summary collapse

Methods inherited from Impl::Operator

#initialize

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