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

          def initialize(type, **options)
            @type = type
            super(options)
          end
        end
      end
    end
  end
end