class ActionView::Helpers::JavaScriptVariableProxy

def respond_to?(*)

Since it's a blank slate object, I suppose it responds to anything.
The JSON Encoder calls this to check for the +to_json+ method
def respond_to?(*)
  true
end