Class: DirectwaveGenerator

Inherits:
Rails::Generators::NamedBase
  • Object
show all
Defined in:
lib/generators/directwave_generator.rb

Instance Method Summary collapse

Instance Method Details

#create_uploader_fileObject



4
5
6
# File 'lib/generators/directwave_generator.rb', line 4

def create_uploader_file
  template "directwave.rb", "app/uploaders/#{file_name}_uploader.rb"
end