Method: JavaScriptGenerator#call

Defined in:
lib/bivouac/helpers/view/goh/javascript.rb

#call(function, *arguments) ⇒ Object

Calls the JavaScript function, optionally with the given arguments.



104
105
106
# File 'lib/bivouac/helpers/view/goh/javascript.rb', line 104

def call(function, *arguments)
  record "#{function}(#{arguments_for_call(arguments)});\n"
end