How to Check if a Variable Is Defined in Ruby | CodeTrail