Windows users can feel like second-class-citizens in the Ruby world. Ruby gems and tools often don’t work quite right on Windows hosts. But we can fix this. Making your code …
Tag: files
Episode #314: Filesystem Testing
Today we'll learn how to test code that interacts with the filesystem.
Episode #313: Temporary Directory
In today's episode, we'll learn how to robustly manage temporary directories in Ruby.
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 #298: File Find
In this "lost episode", we'll learn how to use Ruby's "find" library to dig through files on disk.
Episode #267: Kernel Open with Rob Miller
In this guest episode, Rob Miller shows off some super powers of Ruby's `Kernel#open`.
Episode #193: Pathname
While the File methods are great for occasional use, for programs that deal extensively in filenames we need to bring out the big guns. Today we'll get an overview of …
Episode #192: Filenames
Ruby provides a lot of tools for breaking filenames into their component parts, but they aren't always well documented. Today's episode combines goes over some basics as well as a …