method
arguments_for_call
Ruby on Rails latest stable (v6.1.7.7)
-
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