Callable
Many different kinds of Ruby objects respond to #call. Today’s dish is a demonstration of how this fact can be harnessed to easily swap out different implementations of a collaborator object.
This episode is part of Scintillating Ruby.
Scintillating Ruby has 5 modules and 54 lessons. Watching this episode takes a Pro membership, which includes every course. You can also buy this course on its own.
Responses