RubyFlow The Ruby and Rails community linklog

Ruby's attr_accessor, attr_reader and attr_writer

A Ruby object has its methods public by default, but its data is private. So if you need to access the data, for either reading or writing, you need to make it public somehow. Read it here

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in