Class: Conjugators::ActionVerbs::Vhan

Inherits:
Object
  • Object
show all
Extended by:
Shared
Defined in:
lib/conjugators/action_verbs/vhan.rb

Class Method Summary collapse

Instance Method Summary collapse

Methods included from Shared

irregulars_three_way, irregulars_two_way

Constructor Details

#initialize(verb) ⇒ Vhan

Note, MVSKOKE language here



6
7
8
9
10
11
12
# File 'lib/conjugators/action_verbs/vhan.rb', line 6

def initialize(verb)
  @verb = verb

  raise "Invalid verb. Verb must end with 'etv'." unless @verb.end_with?("etv")

  @irregular = !!irregulars[@verb]
end

Class Method Details

.vhan_person_markersObject



291
292
293
294
295
296
# File 'lib/conjugators/action_verbs/vhan.rb', line 291

def self.vhan_person_markers
  #etske ecke ecce etce
  {
    '3pp' => ["e"],
  }
end

Instance Method Details

#conjugate!Object



14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# File 'lib/conjugators/action_verbs/vhan.rb', line 14

def conjugate!
  {
    verb: @verb,
    first_person_singular: {
      basic:                      conjugate(tense: :conjugate_1ps, type: :basic),
      tos_auxiliary:              conjugate(tense: :conjugate_1ps, type: :tos_auxiliary),
      ometv_conjugated_auxiliary: conjugate(tense: :conjugate_1ps, type: :ometv_conjugated_auxiliary)
    },
    second_person_singular: {
      basic:                      conjugate(tense: :conjugate_2ps, type: :basic),
      tos_auxiliary:              conjugate(tense: :conjugate_2ps, type: :tos_auxiliary),
      ometv_conjugated_auxiliary: conjugate(tense: :conjugate_2ps, type: :ometv_conjugated_auxiliary)
    },
    third_person_singular: {
      basic:                      conjugate(tense: :conjugate_3ps, type: :basic),
      tos_auxiliary:              conjugate(tense: :conjugate_3ps, type: :tos_auxiliary),
      ometv_conjugated_auxiliary: conjugate(tense: :conjugate_3ps, type: :ometv_conjugated_auxiliary)
    },
    first_person_plural: {
      basic:                      conjugate(tense: :conjugate_1pp, type: :basic),
      tos_auxiliary:              conjugate(tense: :conjugate_1pp, type: :tos_auxiliary),
      ometv_conjugated_auxiliary: conjugate(tense: :conjugate_1pp, type: :ometv_conjugated_auxiliary)
    },
    second_person_plural: {
      basic:                      conjugate(tense: :conjugate_2pp, type: :basic),
      tos_auxiliary:              conjugate(tense: :conjugate_2pp, type: :tos_auxiliary),
      ometv_conjugated_auxiliary: conjugate(tense: :conjugate_2pp, type: :ometv_conjugated_auxiliary)
    },
    third_person_plural: {
      basic:                      conjugate(tense: :conjugate_3pp, type: :basic),
      tos_auxiliary:              conjugate(tense: :conjugate_3pp, type: :tos_auxiliary),
      ometv_conjugated_auxiliary: conjugate(tense: :conjugate_3pp, type: :ometv_conjugated_auxiliary)
    }
  }
end