Module: GreekABC

Defined in:
lib/greek_abc.rb,
lib/greek_abc/errors.rb,
lib/greek_abc/letter.rb,
lib/greek_abc/alphabet.rb,
lib/greek_abc/constants.rb,
lib/greek_abc/letter_lookup.rb

Defined Under Namespace

Classes: Alphabet, GreekABCError, Letter, LetterLookup, LetterLookupParamsError, LetterNotFoundError

Constant Summary collapse

ALPHABET =

Hash of full letter names and their lowercase representation variant(s)

{
  'Alpha' => 'α',
  'Beta' => 'β',
  'Gamma' => 'γ',
  'Delta' => 'δ',
  'Epsilon' => 'ε',
  'Zeta' => 'ζ',
  'Eta' => 'η',
  'Theta' => 'θ',
  'Iota' => 'ι',
  'Kappa' => 'κ',
  'Lambda' => 'λ',
  'Mu' => 'μ',
  'Nu' => 'ν',
  'Xi' => 'ξ',
  'Omicron' => 'ο',
  'Pi' => 'π',
  'Rho' => 'ρ',
  'Sigma' => %w[σ ς],
  'Tau' => 'τ',
  'Upsilon' => 'υ',
  'Phi' => 'φ',
  'Chi' => 'χ',
  'Psi' => 'ψ',
  'Omega' => 'ω'
}.freeze