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.
727 728 729 730 |
# File 'exceptions.rb', line 727 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.
725 726 727 |
# File 'exceptions.rb', line 725 def version @version end |