Searching for: Generators in Ruby
Class Declaration & Structure
Classes are a blueprint for creating individual objects that contain the general characteristics of a defined object type.
Used to declare methods called on the class itself (static).
Used to mitigate errors in code and prevent program crashing during runtime. It 'tries' a block of code that could give an error. If the error (exception) is caught, it will execute a different block of code rather than crash the program.