Class: Dapp::Dimg::Config::Directive::DimgGroup
Instance Attribute Summary
#_artifact, #_artifact_groups, #_builder, #_chef, #_docker, #_git_artifact, #_mount, #_shell
Instance Method Summary
collapse
#_context_artifact_groups, #_import_artifact, #artifacts_after_parsing!, #import
#_dimg, #_dimg_group, #dimg, #dimg_group
Methods inherited from Base
#clone_to_artifact
#clone, #encode_with, #initialize
Instance Method Details
#artifact(name = nil, &blk) ⇒ Object
24
25
26
27
|
# File 'lib/dapp/dimg/config/directive/dimg_group.rb', line 24
def artifact(name = nil, &blk)
check_dimg_group_directive_order(:artifact)
super
end
|
#chef(&blk) ⇒ Object
9
10
11
12
|
# File 'lib/dapp/dimg/config/directive/dimg_group.rb', line 9
def chef(&blk)
check_dimg_directive_order(:chef)
super
end
|
#docker(&blk) ⇒ Object
19
20
21
22
|
# File 'lib/dapp/dimg/config/directive/dimg_group.rb', line 19
def docker(&blk)
check_dimg_directive_order(:docker)
super
end
|
#git(url = nil, &blk) ⇒ Object
29
30
31
32
|
# File 'lib/dapp/dimg/config/directive/dimg_group.rb', line 29
def git(url = nil, &blk)
check_dimg_directive_order(:git)
super
end
|
#mount(to, &blk) ⇒ Object
34
35
36
37
|
# File 'lib/dapp/dimg/config/directive/dimg_group.rb', line 34
def mount(to, &blk)
check_dimg_directive_order(:mount)
super
end
|
#shell(&blk) ⇒ Object
14
15
16
17
|
# File 'lib/dapp/dimg/config/directive/dimg_group.rb', line 14
def shell(&blk)
check_dimg_directive_order(:shell)
super
end
|