mirror of
https://github.com/nilbuild/developer-roadmap.git
synced 2026-09-29 16:57:32 +08:00
* refactor: clean to roadmap content * refactor: move shared helpers into scripts/lib
945 B
945 B
Inheritance
Inheritance in Ruby allows a class (the subclass or derived class) to inherit properties and behaviors from another class (the superclass or base class). This promotes code reuse and establishes an "is-a" relationship. The subclass automatically gains the methods and attributes of the superclass, and can also add its own or override existing ones to customize its behavior.
Visit the following resources to learn more: