Guides to the core and standard libraries, as well as selected Rubygems.
Category: APIs and Libraries
Episode #315: Random Seed
It may seem counter-intuitive, but sometimes we need randomness to be predictable. Today's episode explores how we can accomplish this, and why we might want to.
Episode #313: Temporary Directory
In today's episode, we'll learn how to robustly manage temporary directories in Ruby.
Episode #311: Secure Random
Today we'll learn a little more about the SecureRandom module.
Episode #309: Globbing with Chris Strom
In today's episode, guest chef Chris Strom show us how to list and filter files with advanced glob patterns, from within Ruby.
Episode #307: Command Loop
In this episode we'll build a simple command-prompt loop in Ruby.
Episode #306: Random Samples
Sometimes we want to be surprised. Today, we'll talk about different ways to pick things at random in Ruby.
Episode #298: File Find
In this "lost episode", we'll learn how to use Ruby's "find" library to dig through files on disk.
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.