Class: LinuxRunnerSpec
Instance Attribute Summary collapse
-
#cleanup ⇒ Boolean
readonly
Returns the value of prop
cleanup
. -
#container ⇒ Hash{Symbol => String}
readonly
Returns the value of prop
container
. -
#name ⇒ String
readonly
Returns the value of prop
name
. -
#runner ⇒ String
readonly
Returns the value of prop
runner
. -
#timeout ⇒ Integer
readonly
Returns the value of prop
timeout
. -
#workdir ⇒ String
readonly
Returns the value of prop
workdir
.
Instance Method Summary collapse
-
#initialize(name:, runner:, container:, workdir:, timeout:, cleanup:) ⇒ void
constructor
-
#to_h ⇒ Hash
Constructor Details
Instance Attribute Details
#cleanup ⇒ Boolean (readonly)
Returns the value of prop cleanup
.
|
# File '' const :cleanup, T::Boolean |
#container ⇒ Hash{Symbol => String} (readonly)
Returns the value of prop container
.
|
# File '' const :container, T::Hash[Symbol, String] |
#timeout ⇒ Integer (readonly)
Returns the value of prop timeout
.
|
# File '' const :timeout, Integer |
Instance Method Details
#to_h ⇒ Hash
22 23 24 25 26 27 28 29 30 31 |
# File 'linux_runner_spec.rb', line 22 def to_h { name: name, runner: runner, container: container, workdir: workdir, timeout: timeout, cleanup: cleanup, } end |