Skip to content

Buyapowa/indefinite_article

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

IndefiniteArticle

Gets the indefinite artilce of a word or string of text:

IndefiniteArticle.get("banana") # => "a"
IndefiniteArticle.get("apple") # => "an"

IndefiniteArticle.prepend("apple") # => "an apple"

Installation

def deps do
  [{:indefinite_article, "~> 0.0.1"}]
end

Acknowledgements

This is a direct Elixir port of https://github.com/rossmeissl/indefinite_article so any good karma goes to Andy Rossmeissl

About

Returns you the indefinite article of a string (*a* banana, *an* apple, etc)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages