method
arguments_for_call

v3.0.9 -
Show latest stable
-
0 notes -
Class: ActionView::Helpers::PrototypeHelper::JavaScriptGenerator::GeneratorMethods
arguments_for_call(arguments, block = nil)
private
Hide source
# File actionpack/lib/action_view/helpers/prototype_helper.rb, line 555 def arguments_for_call(arguments, block = nil) arguments << block_to_function(block) if block arguments.map { |argument| javascript_object_for(argument) }.join ', ' end