Ruby Getters and Setters
What is a getter method? A getter method is a method that gets a value of an instance variable. Without a getter method, you can not retrieve a value of an instance variable outside the class the instance variable is instantiated from. Here is an ...