Class: Heroicon::Generators::InstallGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- Heroicon::Generators::InstallGenerator
- Defined in:
- lib/generators/heroicon/install_generator.rb
Instance Method Summary collapse
Instance Method Details
#copy_config ⇒ Object
8 9 10 |
# File 'lib/generators/heroicon/install_generator.rb', line 8 def copy_config template "heroicon.rb", "config/initializers/heroicon.rb" end |
#copy_helper ⇒ Object
12 13 14 |
# File 'lib/generators/heroicon/install_generator.rb', line 12 def copy_helper template "heroicon_helper.rb", "app/helpers/heroicon_helper.rb" end |