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