spec/lib/jspec.js
function(module, name, args) {
      hook('evaluatingHookBody', module, name)
      try { return module[name].apply(module, args) }
      catch(e) { error('Error in hook ' + module.name + '.' + name + ': ', e) }
    }
function(module, name, args) {
      hook('evaluatingHookBody', module, name)
      try { return module[name].apply(module, args) }
      catch(e) { error('Error in hook ' + module.name + '.' + name + ': ', e) }
    }
function ( module , name , args ) { hook ( 'evaluatingHookBody' , module , name ) try { return module [ name ] . apply ( module , args ) } catch ( e ) { error ( 'Error in hook ' + module . name + '.' + name + ': ' , e ) } }
Eval _module_ hook _name_ with _args_. Evaluates in context
to the module itself, JSpec, and JSpec.context.

@param  {Module} module
@param  {string} name
@param  {array} args
@return {mixed}
@api private
Eval _module_ hook _name_ with _args_ . Evaluates in context to the module itself JSpec and JSpec . context .