Class: LLT::FormBuilder::PronounSegments::PronounHic

Inherits:
LLT::FormBuilder::PronounSegments show all
Defined in:
lib/llt/form_builder/helpers/pronoun_segments.rb

Constant Summary

Constants inherited from LLT::FormBuilder::PronounSegments

PronounAliquis, PronounQuis, PronounQuisque

Instance Method Summary collapse

Methods inherited from LLT::FormBuilder::PronounSegments

get, #init_keys, #initialize, #n, n, particle, prefixed_particle, #prefixed_particle, stem

Constructor Details

This class inherits a constructor from LLT::FormBuilder::PronounSegments

Instance Method Details

#particleObject



54
55
56
57
58
59
60
# File 'lib/llt/form_builder/helpers/pronoun_segments.rb', line 54

def particle
  if (@numerus == 1 && @casus != 2) || (@sexus == :n && @numerus == 2 && (@casus == 1 || @casus == 4))
    n(:C)
  else
    ""
  end
end

#stemObject



62
63
64
65
66
67
68
# File 'lib/llt/form_builder/helpers/pronoun_segments.rb', line 62

def stem
  if @numerus == 1 && (@casus == 2 || @casus == 3)
    "hu"
  else
    "h"
  end
end