aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/connection_adapters/postgresql/oid/specialized_string.rb
blob: 7b1ca16bc48279ff42c0db64b6d8ce3f1554ca60 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
module ActiveRecord
  module ConnectionAdapters
    module PostgreSQL
      module OID # :nodoc:
        class SpecializedString < Type::String
          attr_reader :type

          def initialize(type)
            @type = type
          end

          def text?
            false
          end
        end
      end
    end
  end
end