Class: Danthes::Generators::Base
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- Danthes::Generators::Base
show all
- Defined in:
- lib/generators/danthes_generator.rb
Class Method Summary
collapse
Class Method Details
.banner ⇒ Object
10
11
12
|
# File 'lib/generators/danthes_generator.rb', line 10
def self.banner
"rails generate danthes:#{generator_name}"
end
|
.source_root ⇒ Object
6
7
8
|
# File 'lib/generators/danthes_generator.rb', line 6
def self.source_root
File.dirname(__FILE__) + '/templates'
end
|