Class: Dapp::Build::Stage::AppSetup
- Defined in:
- lib/dapp/build/stage/app_setup.rb
Overview
AppSetup
Instance Attribute Summary
Attributes inherited from Base
#application, #next_stage, #prev_stage
Instance Method Summary collapse
- #image ⇒ Object
-
#initialize(application, next_stage) ⇒ AppSetup
constructor
A new instance of AppSetup.
Methods inherited from Base
#build!, #save_in_cache!, #signature
Methods included from Helper::Trivia
class_to_lowercase, #class_to_lowercase, #delete_file, #kwargs, #to_mb
Methods included from Helper::Sha256
Constructor Details
#initialize(application, next_stage) ⇒ AppSetup
Returns a new instance of AppSetup.
6 7 8 9 |
# File 'lib/dapp/build/stage/app_setup.rb', line 6 def initialize(application, next_stage) @prev_stage = Source3.new(application, self) super end |
Instance Method Details
#image ⇒ Object
11 12 13 14 15 |
# File 'lib/dapp/build/stage/app_setup.rb', line 11 def image super do |image| application.builder.app_setup(image) end end |