module Foxy::Monads

Public Instance Methods

and_then() click to toggle source
# File lib/foxy/adverb.rb, line 83
def and_then
  self
end
dangerously() click to toggle source
# File lib/foxy/adverb.rb, line 71
def dangerously
  Dangerously.new(self)
end
many() click to toggle source
# File lib/foxy/adverb.rb, line 67
def many
  Many.new(self)
end
mapy() click to toggle source
# File lib/foxy/adverb.rb, line 63
def mapy
  Mapy.new(self)
end
normally() click to toggle source
# File lib/foxy/adverb.rb, line 75
def normally
  Adverb.new(self)
end
optionaly() click to toggle source
# File lib/foxy/adverb.rb, line 59
def optionaly
  Optional.new(self)
end
safy() click to toggle source
# File lib/foxy/adverb.rb, line 55
def safy
  Safy.new(self)
end
then() { |value| ... } click to toggle source
# File lib/foxy/adverb.rb, line 79
def then
  yield value
end