elixirway v0.1.1
PigLatin
This is the main PigLatin module for translating words.
Summary
Determines if a word starts with a vowel
Translates the given word to Piglatin
Functions
Determines if a word starts with a vowel.
Returns true if the word starts with a vowel. Otherwise false.
Examples
iex> PigLatin.starts_with_vowel("apple")
true
Translates the given word to Piglatin.
Returns the translated word.
Examples
iex> PigLatin.translate("apple")
"appleway"