No release in over a year
Generate dry-rb classes for Rails applications
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
 Dependencies

Development

Runtime

~> 6.0.2, >= 6.0.2.1
 Project Readme

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
  • dry:struct
  • dry:monad

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.