Class: Mal::CoveringT
Instance Method Summary collapse
Methods inherited from OnlyT
#&, #initialize, #|
Constructor Details
This class inherits a constructor from Mal::OnlyT
Instance Method Details
#===(value) ⇒ Object
296 297 298 |
# File 'lib/mal.rb', line 296 def ===(value) @matchable.cover?(value) end |
#inspect ⇒ Object
299 |
# File 'lib/mal.rb', line 299 def inspect; 'CoveredBy(%s)' % @matchable.inspect; end |