Skip to content

Instantly share code, notes, and snippets.

@rebyn
Created June 17, 2013 08:58
Show Gist options
  • Save rebyn/5795585 to your computer and use it in GitHub Desktop.
Save rebyn/5795585 to your computer and use it in GitHub Desktop.
use Active Support in irb
Came across a case today in which I had to use a few Active Support's methods. Here's how:
$ irb
> require 'active_support'
> ActiveSupport::Inflector.singularize('inflections')
> ActiveSupport::Inflector.humanize('humanize_me')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment