class ActiveRecord::ConnectionAdapters::PostgreSQL::OID::Bit::Data
def binary?
def binary? /\A[01]*\Z/.match?(value) end
def hex?
def hex? /\A[0-9A-F]*\Z/i.match?(value) end
def initialize(value)
def initialize(value) @value = value end
def to_s
def to_s value end