[ruby] Checking if a variable is defined?