Exception: Nothing::AttemptedExtract
- Inherits:
-
Exception
- Object
- Exception
- Nothing::AttemptedExtract
- Defined in:
- lib/ruby-maybe.rb
Instance Method Summary collapse
-
#initialize ⇒ AttemptedExtract
constructor
A new instance of AttemptedExtract.
Constructor Details
#initialize ⇒ AttemptedExtract
Returns a new instance of AttemptedExtract.
65 66 67 |
# File 'lib/ruby-maybe.rb', line 65 def initialize super("Attempted to extract value from Nothing") end |