Class: GitHubRunner
Instance Attribute Summary collapse
- 
  
    
      #active  ⇒ Boolean 
    
    
  
  
  
  
    
    
  
  
  
  
  private
  
    
Returns the value of prop
active. - 
  
    
      #arch  ⇒ Symbol 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  private
  
    
Returns the value of prop
arch. - 
  
    
      #macos_version  ⇒ MacOSVersion? 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  private
  
    
Returns the value of prop
macos_version. - 
  
    
      #platform  ⇒ Symbol 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  private
  
    
Returns the value of prop
platform. - 
  
    
      #spec  ⇒ LinuxRunnerSpec, MacOSRunnerSpec 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  private
  
    
Returns the value of prop
spec. 
Instance Method Summary collapse
- #arm64? ⇒ Boolean private
 - #initialize(platform:, arch:, spec:, macos_version: nil, active: false) ⇒ void constructor
 - #linux? ⇒ Boolean private
 - #macos? ⇒ Boolean private
 - #x86_64? ⇒ Boolean private
 
Constructor Details
#initialize(platform:, arch:, spec:, macos_version: nil, active: false) ⇒ void
| 
       | 
    
      # File '' const :platform, Symbol const :arch, Symbol const :spec, T.any(LinuxRunnerSpec, MacOSRunnerSpec) const :macos_version, T.nilable(MacOSVersion) prop :active, T::Boolean, default: false  | 
  
Instance Attribute Details
#active ⇒ Boolean
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 active.
| 
       | 
    
      # File '' prop :active, T::Boolean, default: false  | 
  
#arch ⇒ Symbol (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 arch.
| 
       | 
    
      # File '' const :arch, Symbol  | 
  
#macos_version ⇒ MacOSVersion? (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 macos_version.
| 
       | 
    
      # File '' const :macos_version, T.nilable(MacOSVersion)  | 
  
#platform ⇒ Symbol (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 platform.
| 
       | 
    
      # File '' const :platform, Symbol  | 
  
#spec ⇒ LinuxRunnerSpec, MacOSRunnerSpec (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 spec.
| 
       | 
    
      # File '' const :spec, T.any(LinuxRunnerSpec, MacOSRunnerSpec)  | 
  
Instance Method Details
#arm64? ⇒ Boolean
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.
      30 31 32  | 
    
      # File 'github_runner.rb', line 30 def arm64? arch == :arm64 end  | 
  
#linux? ⇒ Boolean
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.
      20 21 22  | 
    
      # File 'github_runner.rb', line 20 def linux? platform == :linux end  | 
  
#macos? ⇒ Boolean
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.
      15 16 17  | 
    
      # File 'github_runner.rb', line 15 def macos? platform == :macos end  | 
  
#x86_64? ⇒ Boolean
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.
      25 26 27  | 
    
      # File 'github_runner.rb', line 25 def x86_64? arch == :x86_64 end  |