Class: Conjugators::Ometv::PresentTense
- Inherits:
-
Object
- Object
- Conjugators::Ometv::PresentTense
- Defined in:
- lib/conjugators/ometv/present_tense.rb
Class Method Summary collapse
Instance Method Summary collapse
- #conjugate! ⇒ Object
-
#initialize(tense) ⇒ PresentTense
constructor
A new instance of PresentTense.
Constructor Details
#initialize(tense) ⇒ PresentTense
Returns a new instance of PresentTense.
4 5 6 |
# File 'lib/conjugators/ometv/present_tense.rb', line 4 def initialize(tense) @tense = tense end |
Class Method Details
.person_conjugations ⇒ Object
8 9 10 11 12 13 14 15 16 17 |
# File 'lib/conjugators/ometv/present_tense.rb', line 8 def self.person_conjugations @person_conjugations ||= { '1ps' => %w{owis}, '2ps' => %w{owetskes oweckes owecces ontces onckes ontses }, '3ps' => %w{os}, '1pp' => %w{owēs}, '2pp' => %w{owatskes owackes owatses }, # towat '3pp' => %w{owakes} } end |
Instance Method Details
#conjugate! ⇒ Object
19 20 21 22 23 24 25 26 27 28 |
# File 'lib/conjugators/ometv/present_tense.rb', line 19 def conjugate! @@conjugations ||= { '1ps' => conjugate('1ps'), '2ps' => conjugate('2ps'), '3ps' => conjugate('3ps'), '1pp' => conjugate('1pp'), '2pp' => conjugate('2pp'), '3pp' => conjugate('3pp') } end |