Exception: MacOSVersionError
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- MacOSVersionError
- Defined in:
- exceptions.rb
Overview
Raised when a macOS version is unsupported.
Instance Attribute Summary collapse
-
#version ⇒ Object
readonly
Returns the value of attribute version.
Instance Method Summary collapse
-
#initialize(version) ⇒ MacOSVersionError
constructor
A new instance of MacOSVersionError.
Constructor Details
#initialize(version) ⇒ MacOSVersionError
Returns a new instance of MacOSVersionError.
781 782 783 784 |
# File 'exceptions.rb', line 781 def initialize(version) @version = version super "unknown or unsupported macOS version: #{version.inspect}" end |
Instance Attribute Details
#version ⇒ Object (readonly)
Returns the value of attribute version.
779 780 781 |
# File 'exceptions.rb', line 779 def version @version end |