Class ActiveSupport::JSON::Variable
In: vendor/rails/activesupport/lib/active_support/json/variable.rb
Parent: String

A string that returns itself as its JSON-encoded form.

Methods

to_json  

Public Instance methods

[Source]

   # File vendor/rails/activesupport/lib/active_support/json/variable.rb, line 5
5:       def to_json(options=nil)
6:         self
7:       end

[Validate]