method
method_option_to_s
v1.0.0 -
Show latest stable
- Class:
ActionView::Helpers::JavaScriptHelper
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