class Linguistics::Latin::Verb::LatinVerb::ParticiplesFactory

Public Class Methods

new(verb) click to toggle source
# File lib/latinverb_participles/participles_factory.rb, line 9
def initialize(verb)
  @verb = verb
end

Public Instance Methods

deponent() click to toggle source
# File lib/latinverb_participles/participles_factory.rb, line 26
def deponent
  DeponentParticipler.new(@verb)
end
irregular() click to toggle source
# File lib/latinverb_participles/participles_factory.rb, line 22
def irregular
  Linguistics::Latin::Verb::LatinVerb::IrregularParticiplesRetriever.new(@verb.original_string).retrieve
end
participles() click to toggle source
# File lib/latinverb_participles/participles_factory.rb, line 13
def participles
  return irregular if irregular?
  if deponent? || semideponent?
    deponent
  else
    standard
  end
end
standard() click to toggle source
# File lib/latinverb_participles/participles_factory.rb, line 30
def standard
  Participler.new(@verb)
end