Core Class Changes: Hash
Technical documentation
02/24/2008
General Changes
- Removed some redundant and/or unnecessary code.
- TODO: Add support for hash slices.
Specific Changes
Hash#[]- TODO: Add support for hash slices.
- TODO: Add support for hash slices.
- Minor optimization for empty arrays.
- Now a true alias of Hash#each instead of a synonym.
- TODO: Remove the block form.
- Removed. There were too many aliases. Only the Hash#key? alias remains. I also found this particular alias confusing, because I could never remember if it referred to keys, values or both.
- Now a true alias of Hash#has_key? instead of a synonym.
- Removed, deprecated.
- Removed, deprecated.
- Removed. There were too many aliases. Only the Hash#key? alias remains.
- Changed the argc prototype from -1 to 0 and removed an unnecessary argc check.
- Now a true alias of Hash#length instead of a synomym.
- Now a true alias of Hash#[]= instead of a synomym.
- Now a true alias of Hash#merge! instead of a synomym.