Creates an
attr_writer
declaration for an instance variable. An
attr_writer
is syntactic sugar for defining a writer method, it is equivalent to writing the following:
class Foo def foo=(foo) @foo = foo end end