Class: Errgonomic::Option::None
- Inherits:
-
Any
show all
- Defined in:
- lib/errgonomic/option.rb
Instance Method Summary
collapse
Methods inherited from Any
#==, #and, #and_then, #deconstruct, #expect!, #map, #map_or, #map_or_else, #none_or, #ok, #ok_or, #ok_or_else, #or, #or_else, #some_and, #tap_some, #to_a, #unwrap!, #unwrap_or, #unwrap_or_else, #zip, #zip_with
Instance Method Details
#none? ⇒ Boolean
343
344
345
|
# File 'lib/errgonomic/option.rb', line 343
def none?
true
end
|
#some? ⇒ Boolean
339
340
341
|
# File 'lib/errgonomic/option.rb', line 339
def some?
false
end
|