1 class SparklinesGenerator < Rails::Generator::Base
5 m.directory File.join("app/controllers")
6 m.directory File.join("test/functional")
8 m.file "controller.rb", File.join("app/controllers/sparklines_controller.rb")
9 m.file "functional_test.rb", File.join("test/functional/sparklines_controller_test.rb")