Writable Attributes « Class « Ruby






1.Creating Writable Attributes: using an accessor method followed with an equals sign (=)
2.Ruby gives you a quick way to create writable attributes with attr_writer