Froze rails gems
[depot.git] / vendor / rails / activesupport / lib / active_support / json / variable.rb
diff --git a/vendor/rails/activesupport/lib/active_support/json/variable.rb b/vendor/rails/activesupport/lib/active_support/json/variable.rb
new file mode 100644 (file)
index 0000000..7fd23b0
--- /dev/null
@@ -0,0 +1,10 @@
+module ActiveSupport
+  module JSON
+    # A string that returns itself as its JSON-encoded form.
+    class Variable < String
+      def to_json(options=nil)
+        self
+      end
+    end
+  end
+end