brycesch / indefinite_article

Indefinite article identification for Ruby strings

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

indefinite_article

Adds indefinite article methods to String and Symbol so that you can do:

>> 'apple'.indefinite_article
=> 'an'
>> 'banana'.with_indefinite_article
=> 'a banana'

Installation

The gem is hosted at gemcutter.org/gems/indefinite_article

gem install indefinite_article

Copyright © 2010 Andy Rossmeissl. See LICENSE for details.

About

Indefinite article identification for Ruby strings

License:MIT License


Languages

Language:Ruby 100.0%