Methods
Class Public methods
new(value) Link
Source: show
# File activerecord/lib/active_record/connection_adapters/postgresql/oid/bit.rb, line 30 def initialize(value) @value = value end
Instance Public methods
binary?() Link
Source: show
# File activerecord/lib/active_record/connection_adapters/postgresql/oid/bit.rb, line 38 def binary? /\A[01]*\Z/.match?(value) end