What is attr_accessor in Ruby?

196
I am having difficulty understanding Ruby attr_accessors, can someone explain them?
asked
4 answers
1337
(The text of the accepted answer goes here...).
answered
39
(Another explanation would go here).
answered