Class: LLT::Form::Uninflectable

Inherits:
LLT::Form show all
Defined in:
lib/llt/form/uninflectable.rb

Direct Known Subclasses

Conjunction, Preposition, Subjunction

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

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_keysObject



8
9
10
# File 'lib/llt/form/uninflectable.rb', line 8

def init_keys
  i{ string }
end

#segmentsObject



17
18
19
# File 'lib/llt/form/uninflectable.rb', line 17

def segments
  [@string]
end

#stemObject Also known as: lemma



12
13
14
# File 'lib/llt/form/uninflectable.rb', line 12

def stem
  @string
end