So suppose I have this (not working):
class User
description = "I am User class variable"
def print
puts description
end
end
So, how should I use the var description, how to pass this into a method as a default parameter, or used in the method directly? Thanks..