Add getter for config directory path

This commit is contained in:
Kevin Sawicki
2013-10-07 14:36:58 -07:00
parent a3559d1289
commit 722be2267d

View File

@@ -117,6 +117,9 @@ class Config
_.extend hash, defaults
@update()
# Public: Get the path to this config's directory.
getDirectoryPath: -> @configDirPath
# Public: Returns a new {Object} containing all of settings and defaults.
getSettings: ->
_.deepExtend(@settings, @defaultSettings)