Ruby Tip #3: Matching on an Object’s Class in a Case Expression
From time to time you might want to take different actions depending on an object’s class. One handy way to do so is with a case expression:
From time to time you might want to take different actions depending on an object’s class. One handy way to do so is with a case expression:
I18n(internationalization) and l10n(localization) are topics that are covered superbly by the Rails Guides. The one thing that’s left out is the setup of fal...
Prelude
Getting started with Emacs is hard. That’s a fact of life and you shouldn’t believe anyone telling you otherwise.
I’m mostly a Ruby on Rails developer these days and as such I’m pretty fond of the Slim template language. I’ve always hated HTML + ERB, since that evil duo ...