class Monads::Nothing

Public Class Methods

new() click to toggle source
# File lib/ruby-monads/maybe.rb, line 39
def initialize
end

Public Instance Methods

bind(&block) click to toggle source
bind

(a -> M b) -> M a -> M b

# File lib/ruby-monads/maybe.rb, line 43
def bind(&block)
  self
end