The config_rbs_generator
generates an RBS for the Settings
object that can be handled by the config
gem.
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
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.
The gem is available as open source under the terms of the MIT License.