Class: ActiveSupport::JSON::Variable
- Defined in:
- lib/active_support/json.rb
Overview
A string that returns itself as as its JSON-encoded form.
Instance Method Summary collapse
-
#to_json ⇒ Object
:nodoc:.
Methods inherited from String
Methods included from CoreExtensions::String::Unicode
Methods included from CoreExtensions::String::Iterators
Methods included from CoreExtensions::String::StartsEndsWith
Methods included from CoreExtensions::String::Inflections
#camelize, #classify, #constantize, #dasherize, #demodulize, #foreign_key, #humanize, #pluralize, #singularize, #tableize, #titleize, #underscore
Methods included from CoreExtensions::String::Conversions
Methods included from CoreExtensions::String::Access
#at, #first, #from, #last, #to
Instance Method Details
#to_json ⇒ Object
:nodoc:
10 11 12 |
# File 'lib/active_support/json.rb', line 10 def to_json self end |