Class: Mal::ValueT

Inherits:
OnlyT
  • Object
show all
Defined in:
lib/mal.rb

Direct Known Subclasses

CoveringT, 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



275
276
277
# File 'lib/mal.rb', line 275

def ===(value)
  @matchable == value
end

#inspectObject



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

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