Class: Sincli::Generators::Assets

Inherits:
Base
  • Object
show all
Defined in:
lib/sincli/generators/assets.rb

Instance Attribute Summary

Attributes inherited from Base

#name, #options

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from Base

#initialize

Constructor Details

This class inherits a constructor from Sincli::Generators::Base

Class Method Details

.source_rootObject



4
5
6
# File 'lib/sincli/generators/assets.rb', line 4

def self.source_root
  super.join('basic/app')
end

Instance Method Details

#generateObject



8
9
10
# File 'lib/sincli/generators/assets.rb', line 8

def generate
  directory('assets', 'assets')
end