module Fear::RightBiased::Left
Public Instance Methods
any?()
click to toggle source
@return [false]
# File lib/fear/right_biased.rb, line 170 def any? false end
each()
click to toggle source
Ignores the given side-effecting block and return self.
@return [RightBiased::Left]
# File lib/fear/right_biased.rb, line 144 def each self end
flat_map()
click to toggle source
Ignores the given block and return self.
@return [RightBiased::Left]
# File lib/fear/right_biased.rb, line 160 def flat_map self end
get_or_else(*args) { || ... }
click to toggle source
@!method get_or_else
(default)
@param default [any] @return [any] default value
@!method get_or_else
(&default)
@return [any] result of evaluating a block.
# File lib/fear/right_biased.rb, line 122 def get_or_else(*args) args.fetch(0) { yield } end
include?(_value)
click to toggle source
@param [any] @return [false]
# File lib/fear/right_biased.rb, line 136 def include?(_value) false end
map()
click to toggle source
Ignores the given block and return self.
@return [RightBiased::Left]
# File lib/fear/right_biased.rb, line 152 def map self end
or_else(*_args) { || ... }
click to toggle source
@!method get_or_else
(&alternative)
@return [RightBiased] result of evaluating a block.
# File lib/fear/right_biased.rb, line 129 def or_else(*_args) yield end
to_option()
click to toggle source
@return [None]
# File lib/fear/right_biased.rb, line 165 def to_option None end