Method: Keisan::Functions::ProcFunction#call

Defined in:
lib/keisan/functions/proc_function.rb

#call(context, *args) ⇒ Object



13
14
15
16
# File 'lib/keisan/functions/proc_function.rb', line 13

def call(context, *args)
  validate_arguments!(args.count)
  function_proc.call(*args).to_node
end