Adds indefinite article methods to String and Symbol so that you can do:
>> 'apple'.indefinite_article => 'an' >> 'banana'.with_indefinite_article => 'a banana'
The gem is hosted at github.com/kenglishhi/indefinite_article. Put the following in your Gemfile
gem 'indefinite_article', '0.1.1', :git => 'git://github.com/kenglishhi/indefinite_article.git'
This was forked from github.com/rossmeissl/indefinite_article but updated to use Rails 3.0.
Copyright © 2010 Andy Rossmeissl. See LICENSE for details.