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.
- Host: GitHub
- URL: https://github.com/rubyonworld/indefinite_article
- Owner: RubyOnWorld
- License: mit
- Created: 2022-09-27T15:28:12.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2022-09-27T17:38:23.000Z (over 3 years ago)
- Last Synced: 2024-12-28T14:27:12.241Z (about 1 year ago)
- Topics: article, drawn, indefinite, rails, ruby
- Language: Ruby
- Homepage:
- Size: 31.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.markdown
- License: LICENSE
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.