Single clause, branching method definitions are so 2007. Get with SRP and party! With overloaded_methods, you can separate out any conditional branching in your method to where it belongs: predicates! Feel the power of the chain-of-responsibility pattern in your own code!!!!!!
Required Ruby Version
>= 0
Authors
Corey Haines, Josh Cheek
Versions
- 3.2.7 January 22, 2015 (9.5 KB)