aboutsummaryrefslogblamecommitdiffstats
path: root/activesupport/lib/active_support/json/variable.rb
blob: 5685ed18b7a23c678598ca80af7f7f6114e3bf8f (plain) (tree)
1
2
3
4
5
6
7
8
9

                    
                                                            
                           

                                                  


       
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