Object
TODO
- Everything in Ruby is an object—even methods, classes, and booleans
- In Ruby, everything is an object.
- Every bit of information and code can be given their own properties and actions.
- In many languages, numbers and other primitive types are not objects.
- Ruby follows the influence of the Smalltalk language by giving methods and instance variables to all of its types.
- This eases one’s use of Ruby, since rules applying to objects apply to all of Ruby.