class
ActiveSupport::JSON::Variable
v1.1.6 -
Show latest stable
- Superclass: String
returns the literal string as its JSON encoded form. Useful for passing javascript variables into functions.
page.call ‘Element.show’, ActiveSupport::JSON::Variable.new("$$(#items li)")
Files
- activesupport/lib/active_support/json.rb