Class: Heroicon::Generators::InstallGenerator

Inherits:
Rails::Generators::Base
  • Object
show all
Defined in:
lib/generators/heroicon/install_generator.rb

Instance Method Summary collapse

Instance Method Details

#copy_configObject



8
9
10
# File 'lib/generators/heroicon/install_generator.rb', line 8

def copy_config
  template "heroicon.rb", "config/initializers/heroicon.rb"
end

#copy_helperObject



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