Class: Pandora::Commands::Setup
- Inherits:
-
Object
- Object
- Pandora::Commands::Setup
- Defined in:
- lib/pandora/commands/setup.rb
Instance Attribute Summary collapse
-
#file ⇒ Object
readonly
File that specifies the setup to be created.
Instance Method Summary collapse
-
#execute ⇒ Object
Executes the command.
-
#initialize(file) ⇒ Setup
constructor
Initializes the command with the file whose setup must be created.
Constructor Details
#initialize(file) ⇒ Setup
Initializes the command with the file whose setup must be created.
11 12 13 |
# File 'lib/pandora/commands/setup.rb', line 11 def initialize(file) @file = file end |
Instance Attribute Details
#file ⇒ Object (readonly)
File that specifies the setup to be created
6 7 8 |
# File 'lib/pandora/commands/setup.rb', line 6 def file @file end |
Instance Method Details
#execute ⇒ Object
Executes the command
16 17 18 19 20 21 |
# File 'lib/pandora/commands/setup.rb', line 16 def execute self.create_projects self.setup_workspace self.link_dependencies self. end |