method
method_option_to_s
rails latest stable - Class:
ActionView::Helpers::PrototypeHelper
method_option_to_s(method)protected
No documentation available.
# File actionpack/lib/action_view/helpers/prototype_helper.rb, line 631
def method_option_to_s(method)
(method.is_a?(String) and !method.index("'").nil?) ? method : "'#{method}'"
end