Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jonathanhefner/casual_support
Ruby utility methods
https://github.com/jonathanhefner/casual_support
ruby utility
Last synced: 7 days ago
JSON representation
Ruby utility methods
- Host: GitHub
- URL: https://github.com/jonathanhefner/casual_support
- Owner: jonathanhefner
- License: mit
- Created: 2016-05-19T17:04:24.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2023-05-14T19:56:13.000Z (over 1 year ago)
- Last Synced: 2024-04-25T17:21:59.191Z (7 months ago)
- Topics: ruby, utility
- Language: Ruby
- Homepage:
- Size: 145 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# casual_support
Utility methods as extensions to core Ruby objects, a la
[Active Support](https://guides.rubyonrails.org/active_support_core_extensions.html).## API
- [Date](https://www.rubydoc.info/gems/casual_support/Date)
- [#to_hms](https://www.rubydoc.info/gems/casual_support/Date:to_hms)
- [#to_ymd](https://www.rubydoc.info/gems/casual_support/Date:to_ymd)
- [Enumerable](https://www.rubydoc.info/gems/casual_support/Enumerable)
- [#duplicates](https://www.rubydoc.info/gems/casual_support/Enumerable:duplicates)
- [#index_to](https://www.rubydoc.info/gems/casual_support/Enumerable:index_to)
- [Hash](https://www.rubydoc.info/gems/casual_support/Hash)
- [#displace](https://www.rubydoc.info/gems/casual_support/Hash:displace)
- [#put!](https://www.rubydoc.info/gems/casual_support/Hash:put%21)
- [String](https://www.rubydoc.info/gems/casual_support/String)
- [#after](https://www.rubydoc.info/gems/casual_support/String:after)
- [#after_last](https://www.rubydoc.info/gems/casual_support/String:after_last)
- [#before](https://www.rubydoc.info/gems/casual_support/String:before)
- [#before_last](https://www.rubydoc.info/gems/casual_support/String:before_last)
- [#between](https://www.rubydoc.info/gems/casual_support/String:between)
- [#prefix](https://www.rubydoc.info/gems/casual_support/String:prefix)
- [#suffix](https://www.rubydoc.info/gems/casual_support/String:suffix)
- [Struct](https://www.rubydoc.info/gems/casual_support/Struct)
- [#assign_attributes](https://www.rubydoc.info/gems/casual_support/Struct:assign_attributes)
- [.from_h](https://www.rubydoc.info/gems/casual_support/Struct.from_h)
- [Time](https://www.rubydoc.info/gems/casual_support/Time)
- [#to_hms](https://www.rubydoc.info/gems/casual_support/Time:to_hms)
- [#to_ymd](https://www.rubydoc.info/gems/casual_support/Time:to_ymd)## Installation
Install the [`casual_support` gem](https://rubygems.org/gems/casual_support).
## Contributing
Run `rake test` to run the tests.
## License
[MIT License](https://opensource.org/licenses/MIT)