dry_generators_rails

Generate dry-rb classes for Rails applications


License
MIT
Install
gem install dry_generators_rails -v 0.2.0

Documentation

Dry Generators Rails

Dry Generator Rails brings dry-rb to Rails in a consistent manner.

This is a work in progress by a squishy human that makes mistakes and will eventually die.

Available Generators

  • dry:validation

Usage

rails g dry:validation User

Installation

Add this line to your application's Gemfile:

gem 'dry_generators_rails'

And then execute:

$ bundle

Or install it yourself as:

$ gem install dry_generators_rails

Contributing

I would love any help you want to put towards this.

Bug reports and feature requests are also a form of help.

License

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