Class: MacOSRunnerSpec

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Parameters:

  • name (String)
  • runner (String)
  • timeout (Integer)
  • cleanup (Boolean)


# File ''

const :name, String
const :runner, 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

#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

Instance Method Details

#to_hHash

Returns:

  • (Hash)


11
12
13
14
15
16
17
18
# File 'macos_runner_spec.rb', line 11

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