method
options_for_javascript
options_for_javascript(options)
protected
Hide source
# File actionpack/lib/action_view/helpers/javascript_helper.rb, line 177 def options_for_javascript(options) '{' + options.map {|k, v| "#{k}:#{v}"}.sort.join(', ') + '}' end