protected Method

PrototypeHelper.method_option_to_s(method)

There's no documentation for this item.

Source Code

# File action_view/helpers/prototype_helper.rb, line 1034
def method_option_to_s(method) 
  (method.is_a?(String) and !method.index("'").nil?) ? method : "'#{method}'"
end
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.