Class: Corundum::InDirCommandTask
- Inherits:
-
Mattock::CommandTask
- Object
- Mattock::CommandTask
- Corundum::InDirCommandTask
- Defined in:
- lib/corundum/github-pages.rb
Instance Method Summary collapse
Instance Method Details
#action ⇒ Object
32 33 34 35 36 |
# File 'lib/corundum/github-pages.rb', line 32 def action FileUtils.cd target_dir do super end end |
#default_configuration(parent) ⇒ Object
22 23 24 |
# File 'lib/corundum/github-pages.rb', line 22 def default_configuration(parent) parent.copy_settings_to(self) end |
#needed? ⇒ Boolean
26 27 28 29 30 |
# File 'lib/corundum/github-pages.rb', line 26 def needed? FileUtils.cd target_dir do super end end |