Class: OrangewebBootstrapGenerator
- Inherits:
-
Rails::Generators::NamedBase
- Object
- Rails::Generators::NamedBase
- OrangewebBootstrapGenerator
- Defined in:
- lib/generators/orangeweb_bootstrap/orangeweb_bootstrap_generator.rb
Instance Method Summary collapse
Instance Method Details
#init ⇒ Object
4 5 6 7 8 9 10 11 12 |
# File 'lib/generators/orangeweb_bootstrap/orangeweb_bootstrap_generator.rb', line 4 def init # copy twitter bootstrap javascript files copy_file "bootstrap.js", "app/assets/javascripts/bootstrap.js" # copy twitter bootstrap stylesheets files copy_file "bootstrap.css", "app/assets/stylesheets/bootstrap.css" # copy twitter bootstrap image sprite files copy_file "glyphicons-halflings.png", "app/assets/images/glyphicons-halflings.png" copy_file "glyphicons-halflings-white.png", "app/assets/images/glyphicons-halflings-white.png" end |