Class: Mal::IncludingT

Inherits:
ValueT show all
Defined in:
lib/mal.rb

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

#inspectObject



292
# File 'lib/mal.rb', line 292

def inspect; 'IncludedIn(%s)' % @matchable.inspect; end