Class: Danthes::Generators::Base

Inherits:
Rails::Generators::Base
  • Object
show all
Defined in:
lib/generators/danthes_generator.rb

Direct Known Subclasses

InstallGenerator, RedisInstallGenerator

Class Method Summary collapse

Class Method Details


10
11
12
# File 'lib/generators/danthes_generator.rb', line 10

def self.banner
  "rails generate danthes:#{generator_name}"
end

.source_rootObject


6
7
8
# File 'lib/generators/danthes_generator.rb', line 6

def self.source_root
  File.dirname(__FILE__) + '/templates'
end