Class: Construi::Config::Links::Link

Inherits:
Object
  • Object
show all
Includes:
EnvironmentVariables, Files, Image, Options, Volumes, WrappedYaml
Defined in:
lib/construi/config.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Options

#options

Methods included from Volumes

#volumes, #volumes_from

Methods included from EnvironmentVariables

#env, #env_configured?, #env_hash

Methods included from Files

#files

Methods included from Image

#build, #image, #image_configured, #image_configured?, #privileged?

Methods included from WrappedYaml

#get, #key?, #parent, #with_parent

Constructor Details

#initialize(name, yaml) ⇒ Link

Returns a new instance of Link.



123
124
125
# File 'lib/construi/config.rb', line 123

def initialize(name, yaml)
  @yaml = yaml
end

Instance Attribute Details

#yamlObject (readonly)

Returns the value of attribute yaml.



121
122
123
# File 'lib/construi/config.rb', line 121

def yaml
  @yaml
end