Beginning Ruby pp 107-147 | Cite as

Classes, Objects, and Modules

  • Peter Cooper


In Chapter 2 we dived straight into the principles of object orientation, the method of representing concepts in Ruby by using classes and objects. Since then we’ve looked at Ruby’s standard classes, such as String and Array; worked with them; and then branched off to look at Ruby’s logic and other core features.


Global Variable Class Variable Object Orientation Child Class Instance Variable 

Copyright information

© Peter Cooper 2016

Authors and Affiliations

  • Peter Cooper
    • 1
  1. 1.Louth, LincsUK

Personalised recommendations