Class: Lono::Importer::Base
- Inherits:
-
AbstractBase
- Object
- AbstractBase
- Lono::Importer::Base
- Includes:
- Download, Thor::Actions, Thor::Base
- Defined in:
- lib/lono/importer/base.rb
Instance Method Summary collapse
-
#initialize(options) ⇒ Base
constructor
A new instance of Base.
Methods included from Download
#download_template, #json?, #read_source
Methods inherited from AbstractBase
Methods included from Blueprint::Root
#find_blueprint_root, #set_blueprint_root
Constructor Details
#initialize(options) ⇒ Base
Returns a new instance of Base.
7 8 9 10 11 12 |
# File 'lib/lono/importer/base.rb', line 7 def initialize() reinitialize() @source = [:source] @tmp_path = "/tmp/lono/import/template.yml" self.destination_root = Dir.pwd # Thor::Actions require destination_root to be set end |