Module: Linguistics::Latin::Verb::LatinVerb::Impersonal
- Defined in:
- lib/linguistics/latin/verb/latinverb/impersonal.rb
Overview
Some verbs only take a active/indic/pres/3rd/sg (“it rains”). For these we will not add the full vectors of methods, but will only respond to THAT vector.
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.extended(extending_instance) ⇒ Object
13 14 15 16 17 |
# File 'lib/linguistics/latin/verb/latinverb/impersonal.rb', line 13 def self.extended(extending_instance) extending_instance.instance_eval do prepare_present_only end end |
Instance Method Details
#prepare_present_only ⇒ Object
19 20 21 22 23 24 25 26 27 28 29 |
# File 'lib/linguistics/latin/verb/latinverb/impersonal.rb', line 19 def prepare_present_only singleton_class.class_eval do def active_voice_indicative_mood_present_tense TenseBlock.new ["", "", @original_string, "", "", ""] end def active_voice_indicative_mood_present_tense_third_person_singular_number return active_voice_indicative_mood_present_tense[2] end end end |