Chapter 7. Built-in essentials
- Literal object constructors
- Syntactic sugar
- “Dangerous” and/or destructive methods
- The to_* family of conversion methods
- Boolean states and objects, and nil
- Object-comparison techniques
- Runtime inspection of objects’ capabilities
The term “built-in” is commonly used among Rubyists to describe utility classes found in the core library. Some of the most popular core library classes and standard library classes are listed in table 7.1.
Table 7.1. Popular core and standard library classes
Popular built-in classes |
Popular standard library classes |
---|---|
Array Binding Dir Exception File Float Hash IO Integer Kernel Math Mutex Proc Process Random Range Rational ... |
Get The Well-Grounded Rubyist, Third Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.