From 1f5dddcf2fb05f460c13f2ea32c81033ca6b14de Mon Sep 17 00:00:00 2001 From: Erich Menge Date: Wed, 30 May 2012 12:18:29 -0500 Subject: Remove deprecated ActiveSupport::JSON::Variable. --- activesupport/lib/active_support/json/encoding.rb | 1 - activesupport/lib/active_support/json/variable.rb | 9 --------- 2 files changed, 10 deletions(-) delete mode 100644 activesupport/lib/active_support/json/variable.rb (limited to 'activesupport/lib/active_support') 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 -- cgit v1.2.3