aboutsummaryrefslogblamecommitdiffstats
path: root/activerecord/lib/active_record/connection_adapters/postgresql/oid/specialized_string.rb
blob: 4ad1344f05dfd8030ca6f8f362ff51735223a15e (plain) (tree)
1
2
3
4
5
6
7
8
9

                             



                           
                                                        

                           
                                         
                        
                          
             




           
# frozen_string_literal: true

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