Top Level Namespace
Defined Under Namespace
Modules: Ronad
Instance Method Summary collapse
- #Default(fallback, value) ⇒ Object
- #Eventually(&b) ⇒ Object
- #Just(value) ⇒ Object
- #JustOne(*values) ⇒ Object
- #Many(value, **kargs) ⇒ Object
- #Maybe(*values) ⇒ Object
- #One(value, **kargs) ⇒ Object
Instance Method Details
#Default(fallback, value) ⇒ Object
14 |
# File 'lib/ronad/sugar.rb', line 14 def Default(fallback, value) ; Ronad::Default.new(fallback, value) end |
#Eventually(&b) ⇒ Object
15 |
# File 'lib/ronad/sugar.rb', line 15 def Eventually(&b); Ronad::Eventually.new(b) end |
#Just(value) ⇒ Object
12 |
# File 'lib/ronad/sugar.rb', line 12 def Just(value); Ronad::Just.new(value) end |
#JustOne(*values) ⇒ Object
13 |
# File 'lib/ronad/sugar.rb', line 13 def JustOne(*values); Ronad::JustOne.new(*values) end |
#Many(value, **kargs) ⇒ Object
10 |
# File 'lib/ronad/sugar.rb', line 10 def Many(value, **kargs) ; Ronad::Many.new(value, **kargs) end |
#Maybe(*values) ⇒ Object
9 |
# File 'lib/ronad/sugar.rb', line 9 def Maybe(*values) ; Ronad::Maybe.from_multiple_values(*values) end |