Class: LLT::Form::Adjective
- Inherits:
-
Declinable
- Object
- LLT::Form
- Declinable
- LLT::Form::Adjective
- Defined in:
- lib/llt/form/adjective.rb
Direct Known Subclasses
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
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_keys ⇒ Object
4 5 6 |
# File 'lib/llt/form/adjective.rb', line 4 def init_keys super + %i{ comparatio number_of_endings comparison_sign } end |
#segmentized ⇒ Object
8 9 10 11 12 |
# File 'lib/llt/form/adjective.rb', line 8 def segmentized unless @ending.empty? && ! @comparatio super.chomp("-") end end |
#segments ⇒ Object
14 15 16 |
# File 'lib/llt/form/adjective.rb', line 14 def segments [@stem, @comparison_sign, @ending] end |