Class: Linguistics::Latin::Verb::LatinVerb::InfinitivesFactory
- Inherits:
-
Object
- Object
- Linguistics::Latin::Verb::LatinVerb::InfinitivesFactory
- Extended by:
- Forwardable
- Defined in:
- lib/latinverb_infinitives/infinitives_factory.rb
Instance Method Summary collapse
- #infinitives ⇒ Object
-
#initialize(verb) ⇒ InfinitivesFactory
constructor
A new instance of InfinitivesFactory.
Constructor Details
#initialize(verb) ⇒ InfinitivesFactory
Returns a new instance of InfinitivesFactory.
16 17 18 |
# File 'lib/latinverb_infinitives/infinitives_factory.rb', line 16 def initialize(verb) @verb = verb end |
Instance Method Details
#infinitives ⇒ Object
20 21 22 23 24 25 26 27 |
# File 'lib/latinverb_infinitives/infinitives_factory.rb', line 20 def infinitives return irregular if irregular? if deponent? || semideponent? deponent else standard end end |