In today's episode we teach rake to manage remote blog posts the same way it manages local files.
Today's dish is about a little tool with an important job.
Where do we draw the line between objects differntiated only by state, and objects differentiated by their class? That's the question we'll examine in this episode.
In this episode we look at how to convert our Feet objects back to core numeric types. In the process, we gain the ability to use our Feet objects in …
For core types like Float, Ruby has both conversion methods (#to_f), and conversion functions (Float()). When should we use one vs. the other? This episode attempts to answer that question.
In this episode we create a function for converting arbitrary values into Feet objects.
Ruby generally doesn't allow mixing of types without explicit conversion. So have you ever wondered why it's possible to multiply 2.3 (a float) by 5 (an integer)? In today's episode …
In this episode we meet a Ruby standard module that makes it easy to make classes comparable and sortable.
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 …
Today's dish is an exploration of how Ruby is able to quickly look up keys in hashes.