Class: Linguistics::Latin::Verb::LatinVerb::DeponentInfinitivizer

Inherits:
Infinitivizer
  • Object
show all
Extended by:
Forwardable
Defined in:
lib/latinverb_infinitives/infinitives_factory/deponent_infinitivizer.rb

Instance Method Summary collapse

Methods inherited from Infinitivizer

#future_passive_infinitive, #perfect_passive_infinitive

Constructor Details

#initialize(verb) ⇒ DeponentInfinitivizer

Returns a new instance of DeponentInfinitivizer.



9
10
11
12
# File 'lib/latinverb_infinitives/infinitives_factory/deponent_infinitivizer.rb', line 9

def initialize(verb)
  super
  @proxyVerb = LatinVerb.new(DeponentStringDeriver.new(original_string).proxy_string, :proxy_verb => true)
end

Instance Method Details

#future_active_infinitiveObject



33
34
35
# File 'lib/latinverb_infinitives/infinitives_factory/deponent_infinitivizer.rb', line 33

def future_active_infinitive
  return @proxyVerb.send :future_active_infinitive
end

#infinitivesObject



14
15
16
17
18
19
20
21
22
23
# File 'lib/latinverb_infinitives/infinitives_factory/deponent_infinitivizer.rb', line 14

def infinitives
  {
    :present_active_infinitive  => present_active_infinitive,
    :perfect_active_infinitive  => perfect_active_infinitive,
    :future_active_infinitive   => future_active_infinitive,
    :present_passive_infinitive => present_passive_infinitive,
    :perfect_passive_infinitive => perfect_passive_infinitive,
    :future_passive_infinitive  => future_passive_infinitive
  }
end

#perfect_active_infinitiveObject



29
30
31
# File 'lib/latinverb_infinitives/infinitives_factory/deponent_infinitivizer.rb', line 29

def perfect_active_infinitive
  return @proxyVerb.send :perfect_passive_infinitive
end

#present_active_infinitiveObject



25
26
27
# File 'lib/latinverb_infinitives/infinitives_factory/deponent_infinitivizer.rb', line 25

def present_active_infinitive
  return @proxyVerb.send :present_passive_infinitive
end

#present_passive_infinitiveObject



37
38
39
# File 'lib/latinverb_infinitives/infinitives_factory/deponent_infinitivizer.rb', line 37

def present_passive_infinitive
  return NullTenseBlock.new
end