Class: LLT::Form::Uninflectable
- Defined in:
- lib/llt/form/uninflectable.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, #stems, #string, #suffix, #tempus
Instance Method Summary collapse
- #init_keys ⇒ Object
-
#initialize(args) ⇒ Uninflectable
constructor
A new instance of Uninflectable.
- #segments ⇒ Object
- #stem ⇒ Object (also: #lemma)
Methods inherited from LLT::Form
#functions, #init_functions, #segmentized, #to_s
Constructor Details
#initialize(args) ⇒ Uninflectable
Returns a new instance of Uninflectable.
4 5 6 |
# File 'lib/llt/form/uninflectable.rb', line 4 def initialize(args) extract_args!(args) end |
Instance Method Details
#init_keys ⇒ Object
8 9 10 |
# File 'lib/llt/form/uninflectable.rb', line 8 def init_keys %i{ string } end |
#segments ⇒ Object
17 18 19 |
# File 'lib/llt/form/uninflectable.rb', line 17 def segments [@string] end |
#stem ⇒ Object Also known as: lemma
12 13 14 |
# File 'lib/llt/form/uninflectable.rb', line 12 def stem @string end |