Class: AngularjsScaffoldGenerator

Inherits:
Rails::Generators::NamedBase
  • Object
show all
Defined in:
lib/angularjs_scaffold/angularjs_scaffold/angularjs_scaffold_generator.rb

Instance Method Summary collapse

Instance Method Details

#init_angularjsObject



4
5
6
# File 'lib/angularjs_scaffold/angularjs_scaffold/angularjs_scaffold_generator.rb', line 4

def init_angularjs
  copy_file "stylesheet.css", "app/assets/stylesheets/#{file_name}.css"
end