Implementing a new Ruby Enumerable method turns into an exploration of refinements, enumerators, RSpec block testing, & more…
A write-up of a tricky aspect of saving Mechanize agent cookies.
The hacker sits down. It’s been a long time since he worked on this project, so he figures he should probably make sure the tests are passing first.
This self-documentation is a great gift for other developers (and your future-self). A quick look at the Data Object definition tells us what attributes are available. No need to go through those four classes where a hash that’s returned by a third-party API is transformed, filtered, reduced, deleted, symbolized keys and recursively flattened… wait, what?! […]