diff options
author | Erich Menge <erich.menge@me.com> | 2012-05-30 12:18:29 -0500 |
---|---|---|
committer | Erich Menge <erich.menge@me.com> | 2012-05-30 14:39:00 -0500 |
commit | 1f5dddcf2fb05f460c13f2ea32c81033ca6b14de (patch) | |
tree | abffb19f16f4b336e6df92557012a82b7b94e439 /activesupport/lib/active_support | |
parent | 0406a13fac7f809cb511e45583259e66d8739b4f (diff) | |
download | rails-1f5dddcf2fb05f460c13f2ea32c81033ca6b14de.tar.gz rails-1f5dddcf2fb05f460c13f2ea32c81033ca6b14de.tar.bz2 rails-1f5dddcf2fb05f460c13f2ea32c81033ca6b14de.zip |
Remove deprecated ActiveSupport::JSON::Variable.
Diffstat (limited to 'activesupport/lib/active_support')
-rw-r--r-- | activesupport/lib/active_support/json/encoding.rb | 1 | ||||
-rw-r--r-- | activesupport/lib/active_support/json/variable.rb | 9 |
2 files changed, 0 insertions, 10 deletions
diff --git a/activesupport/lib/active_support/json/encoding.rb b/activesupport/lib/active_support/json/encoding.rb index 41fe61e790..df9844623d 100644 --- a/activesupport/lib/active_support/json/encoding.rb +++ b/activesupport/lib/active_support/json/encoding.rb @@ -1,6 +1,5 @@ require 'active_support/core_ext/object/to_json' require 'active_support/core_ext/module/delegation' -require 'active_support/json/variable' require 'bigdecimal' require 'active_support/core_ext/big_decimal/conversions' # for #to_s diff --git a/activesupport/lib/active_support/json/variable.rb b/activesupport/lib/active_support/json/variable.rb deleted file mode 100644 index 5685ed18b7..0000000000 --- a/activesupport/lib/active_support/json/variable.rb +++ /dev/null @@ -1,9 +0,0 @@ -module ActiveSupport - module JSON - # A string that returns itself as its JSON-encoded form. - class Variable < String - def as_json(options = nil) self end #:nodoc: - def encode_json(encoder) self end #:nodoc: - end - end -end |