Merge pull request #8120 from ssorallen/available-packages-ret-values

Use `Returns` keyword to highlight vals in docs
This commit is contained in:
Kevin Sawicki
2015-07-28 17:32:34 -07:00

View File

@@ -247,7 +247,7 @@ class PackageManager
Section: Accessing available packages
###
# Public: Get an {Array} of {String}s of all the available package paths.
# Public: Returns an {Array} of {String}s of all the available package paths.
getAvailablePackagePaths: ->
packagePaths = []
@@ -262,11 +262,11 @@ class PackageManager
_.uniq(packagePaths)
# Public: Get an {Array} of {String}s of all the available package names.
# Public: Returns an {Array} of {String}s of all the available package names.
getAvailablePackageNames: ->
_.uniq _.map @getAvailablePackagePaths(), (packagePath) -> path.basename(packagePath)
# Public: Get an {Array} of {String}s of all the available package metadata.
# Public: Returns an {Array} of {String}s of all the available package metadata.
getAvailablePackageMetadata: ->
packages = []
for packagePath in @getAvailablePackagePaths()