Class: LLT::Constants::Endings::Verb::Praesens

Inherits:
Object
  • Object
show all
Defined in:
lib/llt/constants/verb_endings.rb

Direct Known Subclasses

IrregularPraesens, PraesensInfinitivum

Constant Summary collapse

A =

these “compositions” could be refactored one day to something like

A = praesens_a + imperfect_a + future_a, for better readability...
pIa  pIp  pCa  pCp  pIMa   pIMp  iIa  iIp iCa  iCp    nil    nil   fIa  aIp    nil   nil fIMa fIMp
praes_ind_con + iap1 + praes_imp_to_future_ind + a1 + p2 + future_con_and_imp
E =
A
C =
praes_ind_con + iap2 + praes_imp_to_future_ind + a2 + p1 + future_con_and_imp
I =
praes_ind_con + iap1 + praes_imp_to_future_ind + a2 + p1 + future_con_and_imp
M =
C

Class Method Summary collapse

Class Method Details

.get(inflection_class) ⇒ Object



51
52
53
54
55
56
57
58
59
# File 'lib/llt/constants/verb_endings.rb', line 51

def self.get(inflection_class)
  const_get(case inflection_class
            when 1 then :A
            when 2 then :E
            when 3 then :C
            when 4 then :I
            when 5 then :M
            end)
end