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?
In this episode we'll build a simple command-prompt loop in Ruby.
In the second of two episodes about predicate return values, we look at some of the subtle ways that non-boolean predicate return values can catch programmers by surprise.