Class: Kotoshu::Languages::Portuguese::GrammarRules::PersonalInfinitiveRule

Inherits:
Rule
  • Object
show all
Defined in:
lib/kotoshu/languages/pt/language.rb

Overview

Rule: Personal infinitive agreement

Instance Attribute Summary

Attributes inherited from Rule

#description, #id, #name

Instance Method Summary collapse

Constructor Details

#initializePersonalInfinitiveRule

Returns a new instance of PersonalInfinitiveRule.



277
278
279
# File 'lib/kotoshu/languages/pt/language.rb', line 277

def initialize
  super('PT_PERSONAL_INFINITIVE', 'Personal Infinitive', 'Personal infinitive must agree with the subject.')
end

Instance Method Details

#check(_tokens) ⇒ Object



281
282
283
284
# File 'lib/kotoshu/languages/pt/language.rb', line 281

def check(_tokens)
  # Simplified implementation
  []
end