Class: TxtBook::Factory
- Inherits:
-
Object
- Object
- TxtBook::Factory
- Defined in:
- lib/txtbook.rb
Class Method Summary collapse
Class Method Details
.create(cmd_line_args) ⇒ Object
5 6 7 8 9 10 |
# File 'lib/txtbook.rb', line 5 def self.create(cmd_line_args) textbook_root = cmd_line_args[0] # DEBT Move to member var template = File.join(File.dirname(__FILE__), 'txtbook', 'new_book_template') FileUtils.cp_r(template, textbook_root) end |