Class: Mal::IncludingT
Instance Method Summary collapse
Methods inherited from OnlyT
#&, #initialize, #|
Constructor Details
This class inherits a constructor from Mal::OnlyT
Instance Method Details
#===(value) ⇒ Object
289 290 291 |
# File 'lib/mal.rb', line 289 def ===(value) @matchable.include?(value) end |
#inspect ⇒ Object
292 |
# File 'lib/mal.rb', line 292 def inspect; 'IncludedIn(%s)' % @matchable.inspect; end |