Return two copies of x, if x is not nil
def double(x) return nil if x == nil # Return prematurely return x, x.dup # Return multiple values end