Class: RailsExecution::Generators::FileUploadGenerator

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

Instance Method Summary collapse

Instance Method Details

#copy_configObject



11
12
13
14
# File 'lib/generators/rails_execution/file_upload_generator.rb', line 11

def copy_config
  template 'file_uploader.rb', 'lib/rails_execution/file_uploader.rb'
  template 'file_reader.rb', 'lib/rails_execution/file_reader.rb'
end