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.
307 308 309 |
# File 'lib/kotoshu/languages/es/language.rb', line 307 def initialize super('ES_GENDER_AGREEMENT', 'Gender Agreement', 'Nouns and adjectives must agree in gender.') end |
Instance Method Details
#check(tokens) ⇒ Object
311 312 313 314 |
# File 'lib/kotoshu/languages/es/language.rb', line 311 def check(tokens) # Simplified implementation [] end |