<commit_before>/**
 * Module dependencies.
 */
var methods = require('methods')
  , inflect = require('i')()
  , utils = require('./utils')
  , Namespace = require('./namespace')
  , Entry = require('./entry');


/**
 * `Router` constructor.
 *
 * @api private
 */
function Router(handler) {
  this._handler = handler;
  this._define = undefined;
  this._assist = undefined;
  this._ns = [];
  this._ns.push(new Namespace());
  this._entries = {};
}

/**
 * Create a route to the root path ('/').
 *
 * For options, see `match()`, as `root()` invokes it internally.
 *
 * The root route should be placed at the top of `config/routes.js` in order to
 * match against it first.  As this route is typically the most popular route of<commit_msg>Add Router#draw.<commit_after>/**
 * Module dependencies.
 */
var methods = require('methods')
  , inflect = require('i')()
  , utils = require('./utils')
  , Namespace = require('./namespace')
  , Entry = require('./entry');


/**
 * `Router` constructor.
 *
 * @api private
 */
function Router(handler) {
  this._handler = handler;
  this._define = undefined;
  this._assist = undefined;
  this._ns = [];
  this._ns.push(new Namespace());
  this._entries = {};
}

/**
 * Draw routes.
 *
 * Executes `fn` in the context of the `Router` instance.
 *
 * @param {Function} fn
 * @api public
 */
Router.prototype.draw = function(fn) {
  fn.apply(this);
}

/**
 * Create a route to the root path ('/').
 *
 * For options, see `match()`, as `root()` invokes it internally.
 *
 * The root route should be placed at the top of `config/routes.js` in order to
 * match against it first.  As this route is typically the most popular route of
{'fraction_non_alphanumeric': 0.16507177033492823, 'fraction_numerical': 0.0, 'mean_word_length': 3.3341968911917097, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3043874', 'n_tokens_mistral': 519, 'n_tokens_neox': 516, 'n_words': 167}