Class: BoundedContext::Generators::BoundedContextGenerator
- Inherits:
-
Rails::Generators::NamedBase
- Object
- Rails::Generators::NamedBase
- BoundedContext::Generators::BoundedContextGenerator
- Defined in:
- lib/generators/bounded_context/bounded_context_generator.rb
Instance Method Summary collapse
Instance Method Details
#create_bounded_context ⇒ Object
9 10 11 12 13 14 15 |
# File 'lib/generators/bounded_context/bounded_context_generator.rb', line 9 def create_bounded_context template "module.rb", "#{bounded_context_name}/lib/#{bounded_context_name}.rb" application do "config.paths.add '#{bounded_context_name}/lib', eager_load: true" end end |