Class: Linguistics::Latin::Verb::LatinVerb::DeponentStringDeriver

Inherits:
Object
  • Object
show all
Defined in:
lib/latinverb/tense_method_applicator/deponent_string_deriver.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(s) ⇒ DeponentStringDeriver

Returns a new instance of DeponentStringDeriver.



38
39
40
41
# File 'lib/latinverb/tense_method_applicator/deponent_string_deriver.rb', line 38

def initialize(s)
  @original_string = s
  @proxy_string = create_pseudo_active_mask_for_deponent
end

Instance Attribute Details

#proxy_stringObject (readonly)

Deponent verbs can be conceived as being the the passive results of a regular verb where the passive form’s result is then applied to the active vector specification. Ergo the dictum “passive in form but active in meaning.” As such, when we realize we have a deponent verb, we will create its standard four principal part string sibling. This, in turn, could be used to create a LatinVerb. Then through some method deletion or aliasing, the active vector can be used to point to the (in fact) passive result

For example:

<pre> j = LatinVerb.new conor conārī conatus # create_pseudo_active_mask_for_deponent creates (conō, conāre, conāvī conatus) # Do magic so that active_voice_indicative_mood_present_tense points to passive_voice_indicative_mood_present_tense </pre>

ARGUMENTS

s

A deponent description string to be pesudo-mapped

RETURNS

A pseudo-mapped, four principal-part string



36
37
38
# File 'lib/latinverb/tense_method_applicator/deponent_string_deriver.rb', line 36

def proxy_string
  @proxy_string
end