Discover how to use Ruby's yield_self/then method to organize methods into neat pipelines of operations! Join guest chef Nithin Bekal for an educational and satisfying refactoring sequence.
Is there such a thing as a method that is too small? Is it worth it to extract a method just to satisfy a guideline like the Law of Demeter?
Some pointers on making your Ruby parameter defaults self-documenting.
Learn a concise way to treat a module as an object in Ruby.
Clearing up confusion around "bang methods" in Ruby.
A tricky little functional programming puzzle, with an elegant solution.
Eliminating astonishment with a special Ruby idiom for object creation.
Ruby 2.4 eliminates an un-intuitive limitation of if-statements.
Which way do your methods point?