SBoudrias/Inquirer.js — pull request #51 by danielchatfield (2013-07-28 11:26:04+00:00)
Title: Add support for passing a function as default

It is not uncommon to want to set a default value based upon a previous answer, by adding the ability to define default as a function this can be achieved.

I've added the relevant test.