At Symbol
The @
symbol is used to define instance variables (@name
) and class variables (@@name
).
See the Ruby docs on instance variables ↗ and class variables ↗.
The @
symbol is used to define instance variables (@name
) and class variables (@@name
).
See the Ruby docs on instance variables ↗ and class variables ↗.