Question about Creating Class Variables

ruby

#1

Can a class variable be created inside a method within the class? Or does it always have to be inside of the class and not withing the method?


#2

@jaydacoder,
On your quest to knowledge
== discussion ==
http://stackoverflow.com/questions/11495098/difference-between-various-variables-scopes-in-ruby