Class: LinuxRunnerSpec

Inherits:
T::Struct
  • Object
show all
Defined in:
linux_runner_spec.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name:, runner:, container:, workdir:, timeout:, cleanup:) ⇒ void

Parameters:



# File ''

const :name, String
const :runner, String
const :container, T::Hash[Symbol, String]
const :workdir, String
const :timeout, Integer
const :cleanup, T::Boolean

Instance Attribute Details

#cleanupBoolean (readonly)

Returns the value of prop cleanup.

Returns:

  • (Boolean)


# File ''

const :cleanup, T::Boolean

#containerHash{Symbol => String} (readonly)

Returns the value of prop container.

Returns:



# File ''

const :container, T::Hash[Symbol, String]

#nameString (readonly)

Returns the value of prop name.

Returns:



# File ''

const :name, String

#runnerString (readonly)

Returns the value of prop runner.

Returns:



# File ''

const :runner, String

#timeoutInteger (readonly)

Returns the value of prop timeout.

Returns:

  • (Integer)


# File ''

const :timeout, Integer

#workdirString (readonly)

Returns the value of prop workdir.

Returns:



# File ''

const :workdir, String

Instance Method Details

#to_hHash

Returns:



22
23
24
25
26
27
28
29
30
31
# File 'linux_runner_spec.rb', line 22

def to_h
  {
    name:,
    runner:,
    container:,
    workdir:,
    timeout:,
    cleanup:,
  }
end