Class: Mal::NilT

Inherits:
OnlyT 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

#inspectObject



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

def inspect; 'Nil()'; end

#|(another) ⇒ Object



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

def |(another); MaybeT.new(another); end