Class: DockerfileRB::Entrypoint

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

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#executableObject (readonly)

Returns the value of attribute executable.



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

def executable
  @executable
end

#parametersObject (readonly)

Returns the value of attribute parameters.



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

def parameters
  @parameters
end