Class: Dry::Generators::Base
- Inherits:
-
Rails::Generators::NamedBase
- Object
- Rails::Generators::NamedBase
- Dry::Generators::Base
show all
- Defined in:
- lib/generators/dry.rb
Constant Summary
collapse
- DRY_PATH =
File.join(Rails.root, 'app', 'dry').freeze
- SPEC_PATH =
File.join(Rails.root, 'spec', 'dry').freeze
- TEST_PATH =
File.join(Rails.root, 'test', 'dry').freeze
- VALIDATIONS_PATH =
File.join(DRY_PATH, 'validations').freeze
- STRUCTS_PATH =
File.join(DRY_PATH, 'structs').freeze
- MONADS_PATH =
File.join(DRY_PATH, 'monads').freeze