Class: Bkr::Generators::BookBase

Inherits:
Thor::Group
  • Object
show all
Includes:
Thor::Actions
Defined in:
lib/bkr/generators/book_base.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.source_rootObject



9
10
11
# File 'lib/bkr/generators/book_base.rb', line 9

def self.source_root
  File.dirname(__FILE__)
end

Instance Method Details

#create_projectObject



13
14
15
# File 'lib/bkr/generators/book_base.rb', line 13

def create_project
  directory 'templates/book_base', name
end