Class: BuildTool::ModuleActions::Clean
- Defined in:
- lib/build-tool/command_actions.rb
Instance Method Summary collapse
- #execute ⇒ Object
-
#initialize(command, mod, remove_build_directory) ⇒ Clean
constructor
A new instance of Clean.
Methods inherited from Base
Constructor Details
#initialize(command, mod, remove_build_directory) ⇒ Clean
Returns a new instance of Clean.
148 149 150 151 |
# File 'lib/build-tool/command_actions.rb', line 148 def initialize( command, mod, remove_build_directory ) super( command, 10, :clean, mod ) @remove_build_directory = remove_build_directory end |
Instance Method Details
#execute ⇒ Object
153 154 155 156 |
# File 'lib/build-tool/command_actions.rb', line 153 def execute() logger.info "Cleaning" @module.clean( @remove_build_directory ) end |