https://github.com/envygeeks/extras
Provides patches to stdlib that provide extra/fix methods.
https://github.com/envygeeks/extras
hash patches ruby stdlib stringify
Last synced: about 1 year ago
JSON representation
Provides patches to stdlib that provide extra/fix methods.
- Host: GitHub
- URL: https://github.com/envygeeks/extras
- Owner: envygeeks
- License: mit
- Created: 2016-02-25T02:41:11.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2020-04-24T23:54:13.000Z (about 6 years ago)
- Last Synced: 2025-04-14T10:06:11.740Z (about 1 year ago)
- Topics: hash, patches, ruby, stdlib, stringify
- Language: Ruby
- Homepage:
- Size: 27.3 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[][travis]
[][coverage]
[][codeclimate]
[][gemnasium]
[gemnasium]: https://gemnasium.com/envygeeks/extras
[codeclimate]: https://codeclimate.com/github/envygeeks/extras
[coverage]: https://codeclimate.com/github/envygeeks/extras/coverage
[travis]: https://travis-ci.org/envygeeks/extras
# Ruby Extras
Provides patches to stdlib that provide extra functions.
## Array
* `stringify`: Stringify an array, skipping allowed objects.
* `symbolize`: Symbolize an array, skipping allowed objects.
## String
* `split`: Split by a character (by default " ")
# Hash
* `stringify`: Stringify a hash keys and values, skipping allowed objects.
* `symbolize`: Symbolize a hash keys and values, skipping allowed objects.
* `stringify_keys`: Stringify a hash keys, skipping allowed objects.
* `symbolize_keys`: Symbolize a hash keys, skipping allowed objects.
* `deep_merge`: Merge hashes into hashes into hashes.