Class: BuildTool::ModuleActions::RemoveSourceDirectory
- Defined in:
- lib/build-tool/command_actions.rb
Instance Method Summary collapse
- #execute ⇒ Object
-
#initialize(command, mod, force = false) ⇒ RemoveSourceDirectory
constructor
A new instance of RemoveSourceDirectory.
Methods inherited from Base
Constructor Details
#initialize(command, mod, force = false) ⇒ RemoveSourceDirectory
Returns a new instance of RemoveSourceDirectory.
171 172 173 174 |
# File 'lib/build-tool/command_actions.rb', line 171 def initialize( command, mod, force = false ) @force = force super( command, 10, :clean, mod ) end |
Instance Method Details
#execute ⇒ Object
176 177 178 179 |
# File 'lib/build-tool/command_actions.rb', line 176 def execute() logger.info "Removing source directory" @module.remove_source_directory end |