Option monad in Ruby