Fixing indentation
Rename the method to be more descriptive
Use an attr_accessor instead of referencing the instance variable directly