Class: Dakarai::ServicesGenerator

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

Overview

ServicesGenerator.

Instance Method Summary collapse

Instance Method Details

#create_servicesObject



12
13
14
15
# File 'lib/generators/dakarai/services_generator.rb', line 12

def create_services
  directory './services', './'
  application "config.autoload_paths += %W[\#{Rails.root}/app/services]"
end