class Dry::Web::Roda::Generators::UmbrellaProject
Private Instance Methods
add_application()
click to toggle source
# File lib/dry/web/roda/generators/umbrella_project.rb, line 16 def add_application add_template("umbrella_project/web.rb.tt", "system/#{underscored_project_name}/web.rb") end
add_boot()
click to toggle source
# File lib/dry/web/roda/generators/umbrella_project.rb, line 12 def add_boot add_template("umbrella_project/boot.rb.tt", "system/boot.rb") end
post_process_callback()
click to toggle source
# File lib/dry/web/roda/generators/umbrella_project.rb, line 20 def post_process_callback Dir.chdir(target_dir) do Generators::SubApp.new("main", umbrella: target_dir).call end end