Class: DockerfileRB::Workdir
- Inherits:
-
Object
- Object
- DockerfileRB::Workdir
- Defined in:
- lib/dockerfile-rb/workdir.rb
Instance Attribute Summary collapse
-
#path ⇒ Object
readonly
Returns the value of attribute path.
Instance Method Summary collapse
-
#initialize(path) ⇒ Workdir
constructor
A new instance of Workdir.
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
#path ⇒ Object (readonly)
Returns the value of attribute path.
3 4 5 |
# File 'lib/dockerfile-rb/workdir.rb', line 3 def path @path end |