Episode #006: Forwardable

You've probably heard the advice to prefer composition over inheritance. But to implement this in composition can mean writing a lot of tedious, repetitive forwarding methods. Fortunately, Ruby has a shortcut.

This page is just for members. Sign in or subscribe to gain access!