+ 6
Ruby help!!
what is the difference between @@ , @ and $?! Thanks for your help đ
3 Answers
+ 5
A variable prefixed with @@ is a class variable and one prefixed with @ is an instance variable.
+ 5
Complementing the response a variable with the dollar symbol ($) is a global variable
+ 4
thanks a lot <3