Class: Monadt::Maybe::Nothing
- Inherits:
-
Object
- Object
- Monadt::Maybe::Nothing
- Defined in:
- lib/monadt/maybe.rb
Instance Method Summary collapse
Instance Method Details
#is_nothing? ⇒ Boolean
14 |
# File 'lib/monadt/maybe.rb', line 14 def is_nothing?() true end |
#to_s ⇒ Object
15 |
# File 'lib/monadt/maybe.rb', line 15 def to_s() "Nothing" end |