method
arguments_for_call
Ruby on Rails latest stable (v2.3.4)
-
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 1003 def arguments_for_call(arguments, block = nil) arguments << block_to_function(block) if block arguments.map { |argument| javascript_object_for(argument) }.join ', ' end

