Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Merge pull request #697 from krekoten/module_constants
Module#constants and Module.constants
- Loading branch information
Showing
with
44 additions
and 9 deletions.
@@ -1,8 +1 @@ | ||
fails:Module.constants returns an array of the names of all toplevel constants | ||
fails:Module.constants returns an array of Symbol names | ||
fails:Module.constants returns Module's constants when given a parameter | ||
fails:Module#constants returns all constants including inherited when passed true | ||
fails:Module#constants returns all constants including inherited when passed some object | ||
fails:Module#constants doesn't returns inherited constants when passed false | ||
fails:Module#constants doesn't returns inherited constants when passed nil | ||
fails:Module#constants returns only public constants |