class ActiveModel::Type::Binary::Data

:nodoc:

def ==(other)

def ==(other)
  other == to_s || super
end

def hex

def hex
  @value.unpack("H*")[0]
end

def initialize(value)

:nodoc:
def initialize(value)
  @value = value.to_s
end

def to_s

def to_s
  @value
end