Class: Linguistics::Latin::Verb::LatinVerb::Validator

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

Instance Method Summary collapse

Constructor Details

#initialize(verb) ⇒ Validator



6
7
8
# File 'lib/latinverb/validator.rb', line 6

def initialize(verb)
  @verb = verb
end

Instance Method Details

#valid?Boolean



10
11
12
# File 'lib/latinverb/validator.rb', line 10

def valid?
  has_original_string? && has_classification? && has_stem?
end