lib/escort.js
function () {
            var args = Array.prototype.slice.call(arguments, 0);
            if (args.length < 1) {
                throw new Error("Must specify at least one argument to AnyConverter");
            }
            
            var values = {};
            for (var i = 0, len = args.length; i < len; i += 1) {
                var arg = args[i];
                values[arg.toLowerCase()] = arg;
            }
            
            return spawn(AnyConverter.prototype, {
                _values: values,
                regex: "(?:" + args.map(regexpEscape).join("|") + ")",
                weight: 200
            });
        }
function () {
            var args = Array.prototype.slice.call(arguments, 0);
            if (args.length < 1) {
                throw new Error("Must specify at least one argument to AnyConverter");
            }
            
            var values = {};
            for (var i = 0, len = args.length; i < len; i += 1) {
                var arg = args[i];
                values[arg.toLowerCase()] = arg;
            }
            
            return spawn(AnyConverter.prototype, {
                _values: values,
                regex: "(?:" + args.map(regexpEscape).join("|") + ")",
                weight: 200
            });
        }
function ( ) { var args = Array . prototype . slice . call ( arguments , 0 ) ; if ( args . length < 1 ) { throw new Error ( "Must specify at least one argument to AnyConverter" ) ; } var values = { } ; for ( var i = 0 , len = args . length ; i < len ; i += 1 ) { var arg = args [ i ] ; values [ arg . toLowerCase ( ) ] = arg ; } return spawn ( AnyConverter . prototype , { _values : values , regex : "(?:" + args . map ( regexpEscape ) . join ( "|" ) + ")" , weight : 200 } ) ; }
A converter that matches one of the items provided.

@example routes.get("/pages/{pageName:any('about', 'help', 'contact')}", function(req, res, params) { })
A converter that matches one of the items provided .