Libraries
»
monad-maybe
(0.9.9)
»
Index (N)
»
NilClass
Class: NilClass
Inherits:
Object
Object
NilClass
show all
Defined in:
lib/monad/maybe.rb
Instance Method Summary
collapse
#
to_maybe
(&blk) ⇒ Object
Instance Method Details
#
to_maybe
(&blk) ⇒
Object
35 36 37
# File 'lib/monad/maybe.rb', line 35
def
to_maybe
(
&
blk
)
Monad
::
Maybe
::
Nothing
.
instance
end