https://github.com/yedhink/configuration_gem_ruby
https://github.com/yedhink/configuration_gem_ruby
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/yedhink/configuration_gem_ruby
- Owner: yedhink
- License: mit
- Created: 2022-12-03T03:26:07.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-12-03T03:35:23.000Z (over 2 years ago)
- Last Synced: 2025-02-01T23:28:33.149Z (4 months ago)
- Language: Ruby
- Size: 11.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Usage
Run the following to give permissions to the executable. This only needs to be done once:
```sh
chmod a+x ./exe/relay_api
```Then after that test out the gem like so:
```sh
./exe/relay_api
```## References
- https://medium.com/@leo_hetsch/ruby-modules-include-vs-prepend-vs-extend-f09837a5b073
- https://github.com/rails/rails/blob/8015c2c2cf5c8718449677570f372ceb01318a32/activesupport/lib/active_support/configurable.rb#L145
- https://github.com/kaminari/kaminari/blob/master/kaminari-core/lib/kaminari/config.rb
- https://dev.to/vinistock/make-a-ruby-gem-configurable-228d