Class: Operations::Generators::InstallGenerator

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

Instance Method Summary collapse

Instance Method Details

#copy_setup_filesObject



10
11
12
13
14
15
# File 'lib/operations/generators/install_generator.rb', line 10

def copy_setup_files
  copy_file "application_contract.rb.tt", "app/operations/application_contract.rb"
  copy_file "application_schema.rb.tt", "app/operations/application_schema.rb"
  copy_file "dry_schema.rb.tt", "config/initializers/dry_schema.rb"
  copy_file "dry_types.rb.tt", "config/initializers/dry_types.rb"
end