Class: LLT::Form::Noun

Inherits:
Declinable show all
Defined in:
lib/llt/form/noun.rb

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 Declinable

#init_functions, #segments

Methods inherited from LLT::Form

#functions, #init_functions, #initialize, #to_s

Constructor Details

This class inherits a constructor from LLT::Form

Instance Method Details

#init_keysObject



4
5
6
# File 'lib/llt/form/noun.rb', line 4

def init_keys
  super + %i{ persona place }
end

#segmentizedObject



8
9
10
11
12
13
14
# File 'lib/llt/form/noun.rb', line 8

def segmentized
  unless @ending.empty?
    super
  else
    @string
  end
end