class Slaw::Parse::Blocklists::NumberingFormat
Attributes
ordinal[RW]
type[RW]
Public Class Methods
A()
click to toggle source
# File lib/slaw/parse/blocklists.rb, line 218 def self.A; @@A; end
AA()
click to toggle source
# File lib/slaw/parse/blocklists.rb, line 222 def self.AA; @@AA; end
I()
click to toggle source
# File lib/slaw/parse/blocklists.rb, line 220 def self.I; @@I; end
a()
click to toggle source
# File lib/slaw/parse/blocklists.rb, line 217 def self.a; @@a; end
aa()
click to toggle source
# File lib/slaw/parse/blocklists.rb, line 221 def self.aa; @@aa; end
i()
click to toggle source
# File lib/slaw/parse/blocklists.rb, line 219 def self.i; @@i; end
new(type, ordinal)
click to toggle source
# File lib/slaw/parse/blocklists.rb, line 192 def initialize(type, ordinal) @type = type @ordinal = ordinal end
unknown()
click to toggle source
# File lib/slaw/parse/blocklists.rb, line 223 def self.unknown; @@unknown; end
Public Instance Methods
<=>(other)
click to toggle source
# File lib/slaw/parse/blocklists.rb, line 201 def <=>(other) self.ordinal <=> other.ordinal end
eql?(other)
click to toggle source
# File lib/slaw/parse/blocklists.rb, line 197 def eql?(other) self.ordinal == other.ordinal end
to_s()
click to toggle source
# File lib/slaw/parse/blocklists.rb, line 205 def to_s @type.to_s end