Class: Tzispa::Commands::Command
- Inherits:
-
Object
- Object
- Tzispa::Commands::Command
- Defined in:
- lib/tzispa/commands/command.rb
Constant Summary collapse
- NO_PROJECT_FOLDER =
'You must be located in a Tzispa project folder to run this command'
Instance Method Summary collapse
-
#initialize(options) ⇒ Command
constructor
A new instance of Command.
Constructor Details
#initialize(options) ⇒ Command
Returns a new instance of Command.
12 13 14 15 16 |
# File 'lib/tzispa/commands/command.rb', line 12 def initialize() raise NO_PROJECT_FOLDER unless project_folder? Tzispa::Environment.opts = @environment = Tzispa::Environment.instance end |