aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/connection_adapters/type/binary.rb
blob: 4b2d1a66e083432b94bc99c75031c274ce6e99cf (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 Type
      class Binary < Value # :nodoc:
        def type
          :binary
        end

        def binary?
          true
        end

        def klass
          ::String
        end
      end
    end
  end
end