Class: LLT::Form::Declinable

Inherits:
LLT::Form show all
Extended by:
Helpers::QueryMethods
Defined in:
lib/llt/form/declinable.rb

Direct Known Subclasses

Adjective, Ethnic, Noun, Pronoun

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

#init_functionsObject



14
15
16
# File 'lib/llt/form/declinable.rb', line 14

def init_functions
  super + i{ substantive }
end

#init_keysObject



10
11
12
# File 'lib/llt/form/declinable.rb', line 10

def init_keys
  super + i{ stem ending sexus casus numerus }
end

#segmentsObject



18
19
20
# File 'lib/llt/form/declinable.rb', line 18

def segments
  [@stem, @ending]
end