autoload.coffee | |
---|---|
Forward method calls to certain properties.
@name {String} the name of the property onto wich we load @methods {path} the path to be required @api public | autoload = (name, path) ->
@__defineGetter__ name, -> require path
exports.autoload = autoload
|