Class: Errgonomic::Option::None
- Inherits:
-
Any
show all
- Defined in:
- lib/errgonomic/option.rb,
lib/errgonomic/rails/active_record_optional.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, #to_json, #to_s, #unwrap!, #unwrap_or, #unwrap_or_else, #zip, #zip_with
Instance Method Details
#nil? ⇒ Boolean
59
60
61
|
# File 'lib/errgonomic/rails/active_record_optional.rb', line 59
def nil?
true
end
|
#none? ⇒ Boolean
377
378
379
|
# File 'lib/errgonomic/option.rb', line 377
def none?
true
end
|
#some? ⇒ Boolean
373
374
375
|
# File 'lib/errgonomic/option.rb', line 373
def some?
false
end
|