Class: DockerfileRB::Workdir

Inherits:
Object
  • Object
show all
Defined in:
lib/dockerfile-rb/workdir.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(path) ⇒ Workdir

Returns a new instance of Workdir.



4
5
6
# File 'lib/dockerfile-rb/workdir.rb', line 4

def initialize(path)
  @path = path
end

Instance Attribute Details

#pathObject (readonly)

Returns the value of attribute path.



3
4
5
# File 'lib/dockerfile-rb/workdir.rb', line 3

def path
  @path
end