An implementation of the Maybe monad in Ruby