Topic: what is the use of attr_accessor in rails?

hi ,
i am new to rails.please can anyone tell me the use of attr_accessor
here is the sample code:
attr_accessor :name, :dob, :college

please help me out with this
Thank you.

Re: what is the use of attr_accessor in rails?

attr_accessor define put/get instance