The last Gem-Love episode had me creating a command-line client. This time around, I use Rack and Sinatra to build a simple server. Source code can be found here: https://github.com/avdi/gem-love/tree/rubytapas-069
In some applications there is a many-to-many relationship between types of objects that may be displayed to users, and formats in which they may be rendered. There may even be …
Beginning on the implementation of a Ruby PulseAudio API.
Selectively running tests can be a lifesaver in a large codebase. This episode covers how to run just the tests you care about in both MiniTest and RSpec - including …
FFI IT, WE'LL DO IT LIVE!
Sometimes a utility module is overkill. In this episode, we make a namespace module do double-duty.
In part 2 of this series, we buy ourselves some peace of mind with a simple smoke test. The code for this episode can be found here: https://github.com/avdi/pulse-ffi/tree/RubyTapas047
Somtetimes you need to know if exactly one element in a collection has a given property. For that situation, we have the #one? predicate method.