Hi,
What is attr_reader, attr_writer ? Explain with any example.
Thanks…
Prabu J
2009/2/26 Prabu J. [email protected]
Hi,
What is attr_reader, attr_writer ? Explain with any example.
This is very early on in the pickaxe… they allow you to specify
instances
variables that can be read and written directly from outside the
instance.
Mark
On Thu, Feb 26, 2009 at 1:07 PM, Prabu J. [email protected]
wrote:
Hi,
What is attr_reader, attr_writer ? Explain with any example.
This might help:
First hit is a ruby introductory guide, where this is explained with
examples.
Jesus.
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs