instance method
hex?
Ruby on Rails 6.1.7.10
Since v4.2.9Signature
hex?()
No documentation comment.
Source
# File activerecord/lib/active_record/connection_adapters/postgresql/oid/bit.rb, line 42
def hex?
/\A[0-9A-F]*\Z/i.match?(value)
end
Defined in activerecord/lib/active_record/connection_adapters/postgresql/oid/bit.rb line 42
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveRecord::ConnectionAdapters::PostgreSQL::OID::Bit::Data