class Lib::TL1::Message::Field::Base

Attributes

field[R]

Public Class Methods

new(field) click to toggle source
# File lib/lib/tl1/message/field/base.rb, line 20
def initialize(field)
  @field = field
end

Public Instance Methods

<=>(other) click to toggle source
# File lib/lib/tl1/message/field/base.rb, line 24
def <=>(other)
  return nil unless instance_of? other.class

  field <=> other.field
end