Class: UpyunConfigurationGenerator

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

Instance Method Summary collapse

Instance Method Details

#generate_configurationObject



9
10
11
# File 'lib/generators/upyun_configuration_generator.rb', line 9

def generate_configuration
  copy_file "upyun_settings.rb", "config/initializers/upyun_settings.rb"
end