Class: Linguistics::Latin::Verb::TenseBlock::VectorResolutionDelegate

Inherits:
Object
  • Object
show all
Defined in:
lib/linguistics_latin_tense_block/tense_block/vector_resolution_delegate.rb

Instance Method Summary collapse

Constructor Details

#initialize(results) ⇒ VectorResolutionDelegate

Returns a new instance of VectorResolutionDelegate.



6
7
8
# File 'lib/linguistics_latin_tense_block/tense_block/vector_resolution_delegate.rb', line 6

def initialize(results)
  @results = results
end

Instance Method Details

#first_personObject



62
63
64
# File 'lib/linguistics_latin_tense_block/tense_block/vector_resolution_delegate.rb', line 62

def first_person
  [ @results[0], @results[3] ]
end

#first_person_plural_numberObject



38
39
40
# File 'lib/linguistics_latin_tense_block/tense_block/vector_resolution_delegate.rb', line 38

def first_person_plural_number
  @results[3]
end

#first_person_singular_numberObject



10
11
12
# File 'lib/linguistics_latin_tense_block/tense_block/vector_resolution_delegate.rb', line 10

def first_person_singular_number
  @results[0]
end

#plural_numberObject



80
81
82
83
84
# File 'lib/linguistics_latin_tense_block/tense_block/vector_resolution_delegate.rb', line 80

def plural_number
  [ @results[3],
    @results[4],
    @results[5] ]
end

#plural_number_first_personObject



42
43
44
# File 'lib/linguistics_latin_tense_block/tense_block/vector_resolution_delegate.rb', line 42

def plural_number_first_person
  @results[3]
end

#plural_number_second_personObject



50
51
52
# File 'lib/linguistics_latin_tense_block/tense_block/vector_resolution_delegate.rb', line 50

def plural_number_second_person
  @results[4]
end

#plural_number_third_personObject



58
59
60
# File 'lib/linguistics_latin_tense_block/tense_block/vector_resolution_delegate.rb', line 58

def plural_number_third_person
  @results[5]
end

#second_personObject



66
67
68
# File 'lib/linguistics_latin_tense_block/tense_block/vector_resolution_delegate.rb', line 66

def second_person
  [ @results[1], @results[4] ]
end

#second_person_plural_numberObject



46
47
48
# File 'lib/linguistics_latin_tense_block/tense_block/vector_resolution_delegate.rb', line 46

def second_person_plural_number
  @results[4]
end

#second_person_singular_numberObject



18
19
20
# File 'lib/linguistics_latin_tense_block/tense_block/vector_resolution_delegate.rb', line 18

def second_person_singular_number
  @results[1]
end

#singular_numberObject



74
75
76
77
78
# File 'lib/linguistics_latin_tense_block/tense_block/vector_resolution_delegate.rb', line 74

def singular_number
  [ @results[0],
    @results[1],
    @results[2] ]
end

#singular_number_first_personObject



14
15
16
# File 'lib/linguistics_latin_tense_block/tense_block/vector_resolution_delegate.rb', line 14

def singular_number_first_person
  @results[0]
end

#singular_number_second_personObject



22
23
24
# File 'lib/linguistics_latin_tense_block/tense_block/vector_resolution_delegate.rb', line 22

def singular_number_second_person
  @results[1]
end

#singular_number_third_personObject



34
35
36
# File 'lib/linguistics_latin_tense_block/tense_block/vector_resolution_delegate.rb', line 34

def singular_number_third_person
  @results[2]
end

#third_personObject



70
71
72
# File 'lib/linguistics_latin_tense_block/tense_block/vector_resolution_delegate.rb', line 70

def third_person
  [ @results[2], @results[5] ]
end

#third_person_plural_numberObject



54
55
56
# File 'lib/linguistics_latin_tense_block/tense_block/vector_resolution_delegate.rb', line 54

def third_person_plural_number
  @results[5]
end

#third_person_singular_numberObject



26
27
28
# File 'lib/linguistics_latin_tense_block/tense_block/vector_resolution_delegate.rb', line 26

def third_person_singular_number
  @results[2]
end