Class: ActiveSupport::JSON::Variable
- Defined in:
- lib/active_support/json/variable.rb
Overview
A string that returns itself as its JSON-encoded form.
Instance Method Summary collapse
Methods inherited from String
#as_json, #as_str, #blank?, #html_safe, #html_safe?, #to_xs
Methods included from CoreExtensions::String::Multibyte
Methods included from CoreExtensions::String::Behavior
Methods included from CoreExtensions::String::Iterators
Methods included from CoreExtensions::String::StartsEndsWith
append_features, #ends_with?, #starts_with?
Methods included from CoreExtensions::String::Inflections
#camelize, #classify, #constantize, #dasherize, #demodulize, #foreign_key, #humanize, #parameterize, #pluralize, #singularize, #tableize, #titleize, #underscore
Methods included from CoreExtensions::String::Filters
Methods included from CoreExtensions::String::Conversions
#ord, #to_date, #to_datetime, #to_time
Methods included from CoreExtensions::String::Access
#at, #first, #from, #last, #to
Instance Method Details
#to_json(options = nil) ⇒ Object
5 6 7 |
# File 'lib/active_support/json/variable.rb', line 5 def to_json(=nil) self end |