Object
Ruby is a object-oriented programming language. While working within Ruby, we express strings, numbers, booleans and even a class as an object.
Object is made up of two basic components data and methods. Data is a static part of an object. Methods are the dynamic part of an object.
There are two kinds of objects which exist within Ruby:
- Built-in objects – Are default objects accessible to all programmers. They are available with the core of the Ruby language or from various libraries.
- Custom objects – They are created by application programmers for respective application domains.
