Learn how Ruby's -p flag along with a bunch of handy shortcuts can take a script's worth of text filtering and shrink it to a one-liner!
Have you ever needed to understand the HTTP[S] communication between a client program and its server? Learn to use the mitmproxy server to spy on HTTP requests---even if they are …
Put on your flip-flops, because today we venture ever deeper into the world of Ruby one-liners!
Diving deeper into the world of Ruby one-liners, today we'll learn about more special variables, querying the input stream, and... ghoooooost loooooops! 👻
Don't spend time mastering UNIX tools if you can use Ruby one-liners instead.
In the conclusion of a three-part series, we discover the final piece of the "testing private methods" puzzle.
In this rare beginner-oriented episode, we're going to talk about looping constructs in Ruby, starting from the most basic infinite loops, and building up to for/in loops.
What happens when you try to TDD new functionality deep inside a private method? The resulting tests can feel terribly awkward and brittle.
A question that I hear a lot is: "Do you test private methods? And if so, how?" In this, the first of a series, we'll talk about where private methods …