Class: Kotoshu::Languages::Spanish::GrammarRules::GenderAgreementRule
- Defined in:
- lib/kotoshu/languages/es/language.rb
Overview
Rule: Gender agreement
Instance Attribute Summary
Attributes inherited from Rule
Instance Method Summary collapse
- #check(_tokens) ⇒ Object
-
#initialize ⇒ GenderAgreementRule
constructor
A new instance of GenderAgreementRule.
Constructor Details
#initialize ⇒ GenderAgreementRule
Returns a new instance of GenderAgreementRule.
318 319 320 |
# File 'lib/kotoshu/languages/es/language.rb', line 318 def initialize super('ES_GENDER_AGREEMENT', 'Gender Agreement', 'Nouns and adjectives must agree in gender.') end |
Instance Method Details
#check(_tokens) ⇒ Object
322 323 324 325 |
# File 'lib/kotoshu/languages/es/language.rb', line 322 def check(_tokens) # Simplified implementation [] end |