Metaprogramming: RUBY HOOK METHODS
Ruby comes with a bunch of hook methods that allow you to manipulate classes, modules and objects on the fly.
Here is a list of the most important hook methods:
Module#included
Module#extended
Module#prepended
Class#inherited
- SEE MORE
Post a comment