blob: 9fce38ea445692c24e9765e3a8e3360a1512c8fe (
plain) (
tree)
|
|
module ActiveRecord
module Type
module Decorator # :nodoc:
def init_with(coder)
@subtype = coder['subtype']
__setobj__(@subtype)
end
def encode_with(coder)
coder['subtype'] = __getobj__
end
end
end
end
|