]> projects.mako.cc - selectricity-live/blob - vendor/plugins/sparklines/generators/sparklines/sparklines_generator.rb
40e8daedafed45cb2ae530138d693de1e3a07818
[selectricity-live] / vendor / plugins / sparklines / generators / sparklines / sparklines_generator.rb
1 class SparklinesGenerator < Rails::Generator::Base
2
3   def manifest
4     record do |m|
5       m.directory File.join("app/controllers")
6       m.directory File.join("test/functional")
7
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")
10     end
11   end
12
13 end

Benjamin Mako Hill || Want to submit a patch?