What is attr_accessor in Ruby?

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