method

respond_to?

Importance_1
v2.3.8 - Show latest stable - 0 notes - Class: ActionView::Helpers::JavaScriptVariableProxy
respond_to?(method) 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.