Class: DockerfileRB::Entrypoint
- Inherits:
-
Object
- Object
- DockerfileRB::Entrypoint
- Defined in:
- lib/dockerfile-rb/entrypoint.rb
Instance Attribute Summary collapse
-
#executable ⇒ Object
readonly
Returns the value of attribute executable.
-
#parameters ⇒ Object
readonly
Returns the value of attribute parameters.
Instance Method Summary collapse
-
#initialize(executable, parameters) ⇒ Entrypoint
constructor
A new instance of Entrypoint.
Constructor Details
#initialize(executable, parameters) ⇒ Entrypoint
Returns a new instance of Entrypoint.
4 5 6 7 |
# File 'lib/dockerfile-rb/entrypoint.rb', line 4 def initialize(executable, parameters) @executable = executable @parameters = parameters end |
Instance Attribute Details
#executable ⇒ Object (readonly)
Returns the value of attribute executable.
3 4 5 |
# File 'lib/dockerfile-rb/entrypoint.rb', line 3 def executable @executable end |
#parameters ⇒ Object (readonly)
Returns the value of attribute parameters.
3 4 5 |
# File 'lib/dockerfile-rb/entrypoint.rb', line 3 def parameters @parameters end |