Class: Mccloud::Command::DefineCommand

Inherits:
Base
  • Object
show all
Defined in:
lib/mccloud/command/define.rb

Instance Attribute Summary

Attributes inherited from Base

#env

Instance Method Summary collapse

Methods inherited from Base

#initialize, register

Methods included from Helpers

#initialize_environment

Constructor Details

This class inherits a constructor from Mccloud::Command::Base

Instance Method Details

#executeObject



10
11
12
13
# File 'lib/mccloud/command/define.rb', line 10

def execute
  env.ui.info "Define #{name} with template #{template}"
  env.config.definitions.define(name,template)
end