method

respond_to?

Importance_1
v3.0.0 - Show latest stable - 0 notes - Class: ActionView::Helpers::JavaScriptVariableProxy
respond_to?(*) public

The JSON Encoder calls this to check for the to_json method Since it’s a blank slate object, I suppose it responds to anything.

Show source
Register or log in to add new notes.