Class: Dapp::Dimg::Builder::Shell
- Defined in:
- lib/dapp/dimg/builder/shell.rb
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
#before_build_check, #before_dimg_should_be_built_check, #before_install, #before_install?, #before_install_checksum, #before_setup, #before_setup?, #before_setup_checksum, #build_artifact, #build_artifact?, #build_artifact_checksum, #initialize, #install, #install?, #install_checksum, #setup, #setup?, #setup_checksum
Constructor Details
This class inherits a constructor from Dapp::Dimg::Builder::Base
Instance Method Details
#stage_commands(stage) ⇒ Object
19 20 21 |
# File 'lib/dapp/dimg/builder/shell.rb', line 19 def stage_commands(stage) dimg.config._shell.public_send("_#{stage}_command") end |
#stage_empty?(stage) ⇒ Boolean
15 16 17 |
# File 'lib/dapp/dimg/builder/shell.rb', line 15 def stage_empty?(stage) stage_commands(stage).empty? end |