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 #696 from krekoten/module_remove_const
Module#remove_const
- Loading branch information
Showing
with
13 additions
and 5 deletions.
@@ -1,6 +1 @@ | ||
fails:Module#remove_const removes the constant specified by a String or Symbol from the receiver's constant table | ||
fails:Module#remove_const returns the value of the removed constant | ||
fails:Module#remove_const raises a NameError if the name contains non-alphabetic characters except '_' | ||
fails:Module#remove_const calls #to_str to convert the given name to a String | ||
fails:Module#remove_const raises a TypeError if conversion to a String by calling #to_str fails | ||
fails:Module#remove_const is a private method |