Class: Dart::Generators::AssetsGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- Dart::Generators::AssetsGenerator
- Defined in:
- lib/dart/rails/generators/assets/generator.rb
Instance Method Summary collapse
-
#generate_dart ⇒ Object
Copies contents of template/dart to assets invoke with:.
Instance Method Details
#generate_dart ⇒ Object
Copies contents of template/dart to assets invoke with:
$# rails g dart:assets
13 14 15 |
# File 'lib/dart/rails/generators/assets/generator.rb', line 13 def generate_dart directory 'dart', 'app/assets/dart/' end |