The object class for the result returned from calling Linguistics::EN::infinitive.
The rule used
The suffix used to to identify the transform rule
The fallback deconjugated form
Create and return a new Infinitive object.
# File lib/linguistics/en/infinitives.rb, line 1000
def initialize( word1, word2, suffix, rule )
super( word1 )
@word2 = word2
@suffix = suffix
@rule = rule
end
Equality operator: returns true
if other
is == to
either of the receiver's words.
# File lib/linguistics/en/infinitives.rb, line 1022
def ==( other )
return super(other) || @word2 == other
end