Search
Look at the following code:
If you look at this part of the code,
it seems like a complicated way to achieve a simple thing: access and change instance variables.
Ruby provides us with attr_accessor to simplify this code:
attr_accessor