Class: Service::Generators::UsecaseGenerator
- Inherits:
-
Rails::Generators::NamedBase
- Object
- Rails::Generators::NamedBase
- Service::Generators::UsecaseGenerator
- Defined in:
- lib/generators/service/usecase/usecase_generator.rb
Instance Method Summary collapse
Instance Method Details
#call ⇒ Object
11 12 13 14 15 16 17 |
# File 'lib/generators/service/usecase/usecase_generator.rb', line 11 def call usecases.each do |u| @usecase = u.classify create_main(u) create_test(u) end end |