Crystal Expert · Lesson 2

Macro hooks: inherited, included, extended, method_missing, finished

Run code automatically when a class is subclassed, a module is mixed in, a missing method is called, or the program has finished parsing.

Lessons · Crystal Expert · Lesson 2 of 10

Macro hooks: inherited, included, extended, method_missing, finished

Run code automatically when a class is subclassed, a module is mixed in, a missing method is called, or the program has finished parsing.

Illustration for Crystal
Run code automatically when a class is subclassed, a module is mixed in, a missing method is called, or the program has finished parsing.