Guides to the core and standard libraries, as well as selected Rubygems.
Category: APIs and Libraries
Episode #223: Equalizer
We know that Value Objects are useful; today we'll meet a gem that makes them easier to build.
Episode #222: String Partition
Today we look at a lesser-known but handy pair of methods on Strings.
Episode #219: Adamantium
Today we learn about Ruby gem that makes it easier to build immutable value objects.
Episode #218: Spaceship Revisited
In episode 205 we introduced the spaceship () operator, but we also introduced an incompatibility with how Ruby's builtin comparisons work. Today we'll address this oversight.
Episode #215: Grep
Today we look at Ruby's grep method, and explore the idea of matching objects by example.
Episode #205: Comparable
In this episode we meet a Ruby standard module that makes it easy to make classes comparable and sortable.
Episode #204: Hash Equality
Building on the previous episode on hash tables, today we tackle the concept of hash equality: how Ruby decides if two objects are the same for the purpose of use …
Episode #203: Hash Table
Today's dish is an exploration of how Ruby is able to quickly look up keys in hashes.
Episode #199: Regexp Union
Today's episode demonstrates an easy way to build big regular expressions out of little ones.