fugakkbn / config_rbs_generator

This gem generates RBS files for `Settings` objects created by the config gem.
MIT License
1 stars 0 forks source link

Gem Version test - Ruby 3.1 RuboCop - Ruby 3.1 test - Ruby 3.0 RuboCop - Ruby 3.0

config_rbs_generator

The config_rbs_generator generates an RBS for the Settings object that can be handled by the config gem.

Installation

Add this line to your application's Gemfile:

gem 'config_rbs_generator', require: false

And then execute:

$ bundle install

Or install it yourself as:

$ gem install config_rbs_generator

Usage

Simply run the following command in the root directory of your Rails project.

$ bundle exec config_rbs_generate

The RBS will then appear in the console. Place rbs file in the location of your choice and copy & paste.

License

The gem is available as open source under the terms of the MIT License.