Mega Code Archive
Categories
/
Ruby
/
Language Basics
Reference an undefined variable in a method
def basic_method puts x end x = 10 basic_method