Class: LLT::Form::Verb
Instance Attribute Summary
Attributes inherited from LLT::Form
#casus, #classification, #comparison_sign, #ending, #extension, #genus, #index, #inflection_class, #modus, #numerus, #particle, #persona, #place, #prefix, #sexus, #stem, #stems, #string, #suffix, #tempus
Instance Method Summary
collapse
Methods inherited from LLT::Form
#functions, #initialize, #segmentized, #to_s
Constructor Details
This class inherits a constructor from LLT::Form
Instance Method Details
#contracted? ⇒ Boolean
15
16
17
|
# File 'lib/llt/form/verb.rb', line 15
def contracted?
@contraction
end
|
#init_functions ⇒ Object
8
9
10
11
12
13
|
# File 'lib/llt/form/verb.rb', line 8
def init_functions
f = super
f << @inflection_class if @inflection_class.is_a?(Symbol)
f
end
|
#init_keys ⇒ Object
4
5
6
|
# File 'lib/llt/form/verb.rb', line 4
def init_keys
%i{ inflection_class stem thematic extension ending persona tempus modus genus numerus contraction prefix }
end
|
#segments ⇒ Object
19
20
21
22
23
24
25
|
# File 'lib/llt/form/verb.rb', line 19
def segments
if @extension == "b"
[@prefix, @stem, @extension, @thematic, @ending]
else
[@prefix, @stem, @thematic, @extension, @ending]
end
end
|