Class: ActiveSupport::JSON::Variable
- Defined in:
- lib/active_support/json/variable.rb
Overview
A string that returns itself as its JSON-encoded form.
Constant Summary
Constants inherited from String
Instance Method Summary collapse
-
#as_json(options = nil) ⇒ Object
:nodoc:.
-
#encode_json(encoder) ⇒ Object
:nodoc:.
Methods inherited from String
#acts_like_string?, #at, #blank?, #camelize, #classify, #constantize, #dasherize, #deconstantize, #demodulize, #encoding_aware?, #exclude?, #first, #foreign_key, #from, #html_safe, #humanize, #inquiry, #is_utf8?, #last, #mb_chars, #ord, #parameterize, #pluralize, #safe_constantize, #singularize, #squish, #squish!, #strip_heredoc, #tableize, #titleize, #to, #to_date, #to_datetime, #to_time, #truncate, #underscore