aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/type/decorator.rb
diff options
context:
space:
mode:
Diffstat (limited to 'activerecord/lib/active_record/type/decorator.rb')
-rw-r--r--activerecord/lib/active_record/type/decorator.rb14
1 files changed, 0 insertions, 14 deletions
diff --git a/activerecord/lib/active_record/type/decorator.rb b/activerecord/lib/active_record/type/decorator.rb
deleted file mode 100644
index 9fce38ea44..0000000000
--- a/activerecord/lib/active_record/type/decorator.rb
+++ /dev/null
@@ -1,14 +0,0 @@
-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