blob: 77d5038efd29835a7333dad8f933a6a841152721 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
module ActiveRecord
module ConnectionAdapters
module PostgreSQL
module OID # :nodoc:
class Enum < Type::Value # :nodoc:
def type
:enum
end
def type_cast(value)
value.to_s
end
end
end
end
end
end
|