class English::Infinitive::Rule

Attributes

number[R]

McIlroy’s Rule Number

order[R]

Processing Order

suffix[R]
suffix1[R]
suffix2[R]
type[R]

Public Instance Methods

<=>(other) click to toggle source
# File lib/english/infinitive.rb, line 597
def <=>(other)
  order <=> other.order
end

Public Class Methods

new(type, suffix, suffix1, suffix2, order, number) click to toggle source
# File lib/english/infinitive.rb, line 588
def initialize(type, suffix, suffix1, suffix2, order, number)
  @type    = type
  @suffix  = suffix
  @suffix1 = suffix1
  @suffix2 = suffix2
  @order   = order
  @number  = number
end