Cookies help us deliver our services. By using our services, you agree to our use of cookies.
Learn more
-
-
03:43
03:43
-
-
Method alias in Ruby
- An
alias
is an alternative name for a given method. The alias
is associated to a specific context.
-
-
-
03:36
03:36
-
-
The inherited hook method
- Ruby gives you the opportunity to interact with a class when a subclass inherits from this given class.
-
-
-
03:05
03:05
-
-
Pro -
The method_missing hook method
- This hook method is called when a method is not found in all of the ancestor chain.
-
-
-
03:39
03:39
-
-
Module and hook methods
- Ruby gives you the opportunity to interact with a module when it is
included
, prepended
or extending
another class or module.
-
-
-
01:00
01:00
-
-
What's a hook method?
- Ruby gives you the opportunity to interact with the life cycle of classes and modules.
These interactions are handled by Hook Methods.
-