Class: MacOSRunnerSpec Private
This class is part of a private API. This class may only be used in the Homebrew/brew repository. Third parties should avoid using this class if possible, as it may be removed or changed without warning.
Instance Attribute Summary collapse
-
#cleanup ⇒ Boolean
readonly
private
Returns the value of prop
cleanup. -
#name ⇒ String
readonly
private
Returns the value of prop
name. -
#runner ⇒ String
readonly
private
Returns the value of prop
runner. -
#target_macos ⇒ String?
readonly
private
Returns the value of prop
target_macos. -
#testing_formulae ⇒ Array<String>
private
Returns the value of prop
testing_formulae. -
#timeout ⇒ Integer
readonly
private
Returns the value of prop
timeout.
Instance Method Summary collapse
- #initialize(name:, runner:, timeout:, cleanup:, target_macos: nil, testing_formulae: []) ⇒ void constructor
- #to_h ⇒ Hash private
Constructor Details
#initialize(name:, runner:, timeout:, cleanup:, target_macos: nil, testing_formulae: []) ⇒ void
|
|
# File '' const :name, String const :runner, String const :timeout, Integer const :cleanup, T::Boolean const :target_macos, T.nilable(String), default: nil prop :testing_formulae, T::Array[String], default: [] |
Instance Attribute Details
#cleanup ⇒ Boolean (readonly)
This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.
Returns the value of prop cleanup.
|
|
# File '' const :cleanup, T::Boolean |
#name ⇒ String (readonly)
This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.
Returns the value of prop name.
|
|
# File '' const :name, String |
#runner ⇒ String (readonly)
This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.
Returns the value of prop runner.
|
|
# File '' const :runner, String |
#target_macos ⇒ String? (readonly)
This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.
Returns the value of prop target_macos.
|
|
# File '' const :target_macos, T.nilable(String), default: nil |
#testing_formulae ⇒ Array<String>
This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.
Returns the value of prop testing_formulae.
|
|
# File '' prop :testing_formulae, T::Array[String], default: [] |
#timeout ⇒ Integer (readonly)
This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.
Returns the value of prop timeout.
|
|
# File '' const :timeout, Integer |
Instance Method Details
#to_h ⇒ Hash
This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.
22 23 24 25 26 27 28 29 30 31 |
# File 'macos_runner_spec.rb', line 22 def to_h { name:, runner:, timeout:, cleanup:, target_macos:, testing_formulae: testing_formulae.join(","), } end |