class DockerfileRB::Run

Attributes

command[R]
executable[R]
parameters[R]

Public Class Methods

new() click to toggle source
# File lib/dockerfile-rb/run.rb, line 4
def initialize
end

Public Instance Methods

exec(executable, parameters) click to toggle source
# File lib/dockerfile-rb/run.rb, line 12
def exec(executable, parameters)
  @executable = executable
  @parameters = parameters
  self
end
shell(command) click to toggle source
# File lib/dockerfile-rb/run.rb, line 7
def shell(command)
  @command = command
  self
end