Class: ZipperGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- ZipperGenerator
- Defined in:
- lib/generators/zipper_generator.rb
Instance Method Summary collapse
Instance Method Details
#create_files ⇒ Object
2 3 4 5 6 7 8 9 10 11 12 |
# File 'lib/generators/zipper_generator.rb', line 2 def create_files create_file "config/initializers/zipper_initializer.rb", "Zipper.files = []" rakefile("zipper.rake") do %Q{namespace :zipper do desc "Zipper API Testing" task :test => :environment do Zipper.run end end} end end |