Top Level Namespace

Defined Under Namespace

Modules: Danom

Instance Method Summary collapse

Instance Method Details

#Default(fallback, value) ⇒ Object



7
# File 'lib/sugar.rb', line 7

def Default(fallback, value) ; Danom::Default.new(fallback, value) end

#Just(value) ⇒ Object



6
# File 'lib/sugar.rb', line 6

def Just(value); Danom::Just.new(value) end

#Maybe(value) ⇒ Object



5
# File 'lib/sugar.rb', line 5

def Maybe(value) ; Danom::Maybe.new(value) end