An open API service indexing awesome lists of open source software.

https://github.com/rubyonworld/indefinite_article

Inspiration and special cases drawn.
https://github.com/rubyonworld/indefinite_article

article drawn indefinite rails ruby

Last synced: 4 months ago
JSON representation

Inspiration and special cases drawn.

Awesome Lists containing this project

README

          

# 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'
>> 'university'.indefinitize
=> 'a university'

## Installation

$ gem install indefinite_article

## Acknowledgements

@shanebdavis helped immensely with his contributions in #5. Inspiration and special cases drawn from @rigoneri's [indefinite-article.js](https://github.com/rigoneri/indefinite-article.js).

## Copyright

Copyright (c) 2010 Andy Rossmeissl. See LICENSE for details.