private Method

GeneratorMethods.arguments_for_call(arguments, block = nil)

There's no documentation for this item.

Source Code

# File action_view/helpers/prototype_helper.rb, line 966
def arguments_for_call(arguments, block = nil)
  arguments << block_to_function(block) if block
  arguments.map { |argument| javascript_object_for(argument) }.join ', '
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.