Class: Controll::Generators::SetupGenerator

Inherits:
Rails::Generators::Base
  • Object
show all
Defined in:
lib/generators/controll/setup_generator.rb

Instance Method Summary collapse

Instance Method Details

#main_flowObject



8
9
10
11
12
13
14
15
# File 'lib/generators/controll/setup_generator.rb', line 8

def main_flow
  empty_directory "app/controll"
  inside "app/controll" do
    create_folders.each do |folder|
      empty_directory folder
    end
  end
end