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.
789 790 791 792 |
# File 'exceptions.rb', line 789 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.
787 788 789 |
# File 'exceptions.rb', line 787 def version @version end |