Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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)