Class: Kotoshu::Languages::Portuguese::GrammarRules::PersonalInfinitiveRule
- Inherits:
-
Rule
- Object
- Rule
- Kotoshu::Languages::Portuguese::GrammarRules::PersonalInfinitiveRule
- Defined in:
- lib/kotoshu/languages/pt/language.rb
Overview
Rule: Personal infinitive agreement
Instance Attribute Summary
Attributes inherited from Rule
Instance Method Summary collapse
- #check(tokens) ⇒ Object
-
#initialize ⇒ PersonalInfinitiveRule
constructor
A new instance of PersonalInfinitiveRule.
Constructor Details
#initialize ⇒ PersonalInfinitiveRule
Returns a new instance of PersonalInfinitiveRule.
267 268 269 |
# File 'lib/kotoshu/languages/pt/language.rb', line 267 def initialize super('PT_PERSONAL_INFINITIVE', 'Personal Infinitive', 'Personal infinitive must agree with the subject.') end |
Instance Method Details
#check(tokens) ⇒ Object
271 272 273 274 |
# File 'lib/kotoshu/languages/pt/language.rb', line 271 def check(tokens) # Simplified implementation [] end |