class Maybe::Nothing
Public Instance Methods
flat_map(&block)
click to toggle source
# File lib/maybe.rb, line 69 def flat_map(&block) self end
is_just?()
click to toggle source
# File lib/maybe.rb, line 58 def is_just? false end
is_nothing?()
click to toggle source
# File lib/maybe.rb, line 61 def is_nothing? true end
map(&block)
click to toggle source
# File lib/maybe.rb, line 65 def map(&block) self end
Private Instance Methods
val()
click to toggle source
# File lib/maybe.rb, line 75 def val nil end