Class: Optional
Instance Attribute Summary collapse
-
#value ⇒ Object
Returns the value of attribute value.
Instance Method Summary collapse
Methods included from Monad
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
Instance Attribute Details
#value ⇒ Object
Returns the value of attribute value
21 22 23 |
# File 'lib/maybe.rb', line 21 def value @value end |