Class: TooRendermonkeyGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- TooRendermonkeyGenerator
- Defined in:
- lib/generators/too_rendermonkey/too_rendermonkey_generator.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.source_root ⇒ Object
3 4 5 |
# File 'lib/generators/too_rendermonkey/too_rendermonkey_generator.rb', line 3 def self.source_root @source_root ||= File.('../templates', __FILE__) end |
Instance Method Details
#copy_config_files ⇒ Object
7 8 9 |
# File 'lib/generators/too_rendermonkey/too_rendermonkey_generator.rb', line 7 def copy_config_files copy_file("too_rendermonkey.rb", "config/initializers/too_rendermonkey.rb") end |