Class: Leolay::Generators::InstallGenerator

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

Instance Method Summary collapse

Instance Method Details

#copy_all_to_localObject



7
8
9
10
11
12
# File 'lib/generators/leolay/install_generator.rb', line 7

def copy_all_to_local
  #directory "leolay", "lib/generators/leolay"
  copy_file "leolay/leolay_generator.rb", "lib/generators/leolay/leolay_generator.rb"
  copy_file "leolay/USAGE", "lib/generators/leolay/USAGE"
  directory "leolay/templates", "lib/generators/leolay/templates"
end