Class: Dapp::Builder::Base
- Inherits:
-
Object
- Object
- Dapp::Builder::Base
- Defined in:
- lib/dapp/builder/base.rb
Overview
Base
Instance Attribute Summary collapse
-
#application ⇒ Object
readonly
Returns the value of attribute application.
Instance Method Summary collapse
- #chef_cookbooks(_image) ⇒ Object
- #chef_cookbooks_checksum ⇒ Object
- #infra_install(_image) ⇒ Object
- #infra_install? ⇒ Boolean
- #infra_install_checksum ⇒ Object
- #infra_setup(_image) ⇒ Object
- #infra_setup? ⇒ Boolean
- #infra_setup_checksum ⇒ Object
-
#initialize(application) ⇒ Base
constructor
A new instance of Base.
- #install(_image) ⇒ Object
- #install? ⇒ Boolean
- #install_checksum ⇒ Object
- #setup(_image) ⇒ Object
- #setup? ⇒ Boolean
- #setup_checksum ⇒ Object
Constructor Details
#initialize(application) ⇒ Base
Returns a new instance of Base.
7 8 9 |
# File 'lib/dapp/builder/base.rb', line 7 def initialize(application) @application = application end |
Instance Attribute Details
#application ⇒ Object (readonly)
Returns the value of attribute application.
5 6 7 |
# File 'lib/dapp/builder/base.rb', line 5 def application @application end |
Instance Method Details
#chef_cookbooks(_image) ⇒ Object
59 60 |
# File 'lib/dapp/builder/base.rb', line 59 def chef_cookbooks(_image) end |
#chef_cookbooks_checksum ⇒ Object
62 63 64 |
# File 'lib/dapp/builder/base.rb', line 62 def chef_cookbooks_checksum [] end |
#infra_install(_image) ⇒ Object
15 16 17 |
# File 'lib/dapp/builder/base.rb', line 15 def infra_install(_image) raise end |
#infra_install? ⇒ Boolean
11 12 13 |
# File 'lib/dapp/builder/base.rb', line 11 def infra_install? false end |
#infra_install_checksum ⇒ Object
19 20 21 |
# File 'lib/dapp/builder/base.rb', line 19 def infra_install_checksum raise end |
#infra_setup(_image) ⇒ Object
27 28 29 |
# File 'lib/dapp/builder/base.rb', line 27 def infra_setup(_image) raise end |
#infra_setup? ⇒ Boolean
23 24 25 |
# File 'lib/dapp/builder/base.rb', line 23 def infra_setup? false end |
#infra_setup_checksum ⇒ Object
31 32 33 |
# File 'lib/dapp/builder/base.rb', line 31 def infra_setup_checksum raise end |
#install(_image) ⇒ Object
39 40 41 |
# File 'lib/dapp/builder/base.rb', line 39 def install(_image) raise end |
#install? ⇒ Boolean
35 36 37 |
# File 'lib/dapp/builder/base.rb', line 35 def install? false end |
#install_checksum ⇒ Object
43 44 45 |
# File 'lib/dapp/builder/base.rb', line 43 def install_checksum raise end |
#setup(_image) ⇒ Object
51 52 53 |
# File 'lib/dapp/builder/base.rb', line 51 def setup(_image) raise end |
#setup? ⇒ Boolean
47 48 49 |
# File 'lib/dapp/builder/base.rb', line 47 def setup? false end |
#setup_checksum ⇒ Object
55 56 57 |
# File 'lib/dapp/builder/base.rb', line 55 def setup_checksum raise end |