Today we'll make some message expectations read better using RSpec's support for test spies.
Search results for: episode 25
616 results found.
Episode #293: Integer Formats
Sometimes using a string format is overkill. Today we look at quick and easy ways to convert to and from hexadecimal, octal, binary, and other integer representations.
Episode #292: Delegate Class
Ruby's 'delegate' stdlib provides a couple different variations on delegator bass classes. Today we'll look at the differences between the two, and at how to choose on or the other.
Episode #285: Flat Map
Today we look at how we can tighten up our code with the #flat_map method.
Episode #264: Destructuring
Today's special is a demonstration of how we can use Ruby's built-in "destructuring" capabilities to simplify complex assignments.
Episode #255: Httpd
Today's dish is about a fun-but-useful easter egg in the Ruby standard library.
Episode #240: Relative Require
Today our ongoing series on loading code brings us to the topic of loading features relative to the current file.
Episode #234: Warn
Today we talk about how to let client coders know that something might be amiss... the Ruby way.