Class: SpineExtensions::Generators::InstallGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- SpineExtensions::Generators::InstallGenerator
- Defined in:
- lib/generators/spine_extensions/install/install_generator.rb
Instance Method Summary collapse
Instance Method Details
#inject_require_into_manifest ⇒ Object
7 8 9 10 11 |
# File 'lib/generators/spine_extensions/install/install_generator.rb', line 7 def inject_require_into_manifest inject_into_file "app/assets/javascripts/application.js", :before => "//= require_tree" do "//= require spine-extensions\n" end end |