Class: Drakkon::Skeleton::Install
- Inherits:
-
Object
- Object
- Drakkon::Skeleton::Install
- Includes:
- InstallHelpers
- Defined in:
- lib/drakkon/skeleton/install.rb
Overview
Run Command for CLI
Instance Attribute Summary collapse
-
#args ⇒ Object
Returns the value of attribute args.
-
#config ⇒ Object
Returns the value of attribute config.
-
#data ⇒ Object
Returns the value of attribute data.
-
#name ⇒ Object
Returns the value of attribute name.
-
#source ⇒ Object
Returns the value of attribute source.
Instance Method Summary collapse
-
#initialize(args = []) ⇒ Install
constructor
A new instance of Install.
- #save! ⇒ Object
Methods included from InstallHelpers
#config_file, #do_the_check, #load_templates, #path?, #prompt, #read_config, #source?, #source_setup, #sources, #valid_structure?, #valid_template?, #valid_version?
Constructor Details
#initialize(args = []) ⇒ Install
Returns a new instance of Install.
8 9 10 11 12 13 14 |
# File 'lib/drakkon/skeleton/install.rb', line 8 def initialize(args = []) @args = args @data = {} source_setup do_the_check save! end |
Instance Attribute Details
#args ⇒ Object
Returns the value of attribute args.
6 7 8 |
# File 'lib/drakkon/skeleton/install.rb', line 6 def args @args end |
#config ⇒ Object
Returns the value of attribute config.
6 7 8 |
# File 'lib/drakkon/skeleton/install.rb', line 6 def config @config end |
#data ⇒ Object
Returns the value of attribute data.
6 7 8 |
# File 'lib/drakkon/skeleton/install.rb', line 6 def data @data end |
#name ⇒ Object
Returns the value of attribute name.
6 7 8 |
# File 'lib/drakkon/skeleton/install.rb', line 6 def name @name end |
#source ⇒ Object
Returns the value of attribute source.
6 7 8 |
# File 'lib/drakkon/skeleton/install.rb', line 6 def source @source end |