A lot of times I see inside a class instance variables get changed with the @ sign. For example, @name = "kitty" but since there is a attr_accessor :name. We could also write just name = "kitty" in the class.
Is there a significant different between using @name vs name (with attr_accessor)? I understand that they take different pathways. @name is direct while using self.name calls on the class method but in the end result it is the same thing?