Upgraded Rails and RSpec
[monkeycharger.git] / vendor / rails / activesupport / lib / active_support / json / variable.rb
blob7fd23b0a9e089101cdcd6177d769c2731363cb5f
1 module ActiveSupport
2   module JSON
3     # A string that returns itself as its JSON-encoded form.
4     class Variable < String
5       def to_json(options=nil)
6         self
7       end
8     end
9   end
10 end