method

method_option_to_s

rails latest stable - Class: ActionView::Helpers::JavaScriptHelper

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v1.0.0) is shown here.

method_option_to_s(method)
private

No documentation available.

# File actionpack/lib/action_view/helpers/javascript_helper.rb, line 499
      def method_option_to_s(method) 
        (method.is_a?(String) and !method.index("'").nil?) ? method : "'#{method}'"
      end