Class: Chef::Recipe

Inherits:
Object
  • Object
show all
Defined in:
lib/docker_builder/cookbooks/docker-builder/libraries/myhelpers.rb

Instance Method Summary collapse

Instance Method Details

#get_attr_data(name) ⇒ Object

A shortcut



5
6
7
# File 'lib/docker_builder/cookbooks/docker-builder/libraries/myhelpers.rb', line 5

def get_attr_data(name)
  node[name]
end

#get_attr_data_docker(name) ⇒ Object



9
10
11
# File 'lib/docker_builder/cookbooks/docker-builder/libraries/myhelpers.rb', line 9

def get_attr_data_docker(name)
  node[name][:docker]
end