Class: Option::None
Instance Method Summary collapse
Methods inherited from Option
Instance Method Details
#extract_or(default) ⇒ Object
39 40 41 |
# File 'lib/freshlib/option.rb', line 39 def extract_or default default end |
#with_value ⇒ Object
35 36 37 |
# File 'lib/freshlib/option.rb', line 35 def with_value self end |