Class: Bkr::Generators::BookBase
- Inherits:
-
Thor::Group
- Object
- Thor::Group
- Bkr::Generators::BookBase
- Includes:
- Thor::Actions
- Defined in:
- lib/bkr/generators/book_base.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.source_root ⇒ Object
9 10 11 |
# File 'lib/bkr/generators/book_base.rb', line 9 def self.source_root File.dirname(__FILE__) end |
Instance Method Details
#create_project ⇒ Object
13 14 15 |
# File 'lib/bkr/generators/book_base.rb', line 13 def create_project directory 'templates/book_base', name end |