Exception: Omnibus::UnknownPlatform
- Defined in:
- lib/omnibus/exceptions.rb
Overview
Raised when Omnibus encounters a platform it does not know how to build/check/handle.
Instance Method Summary collapse
-
#initialize(platform) ⇒ UnknownPlatform
constructor
A new instance of UnknownPlatform.
- #to_s ⇒ Object
Constructor Details
#initialize(platform) ⇒ UnknownPlatform
Returns a new instance of UnknownPlatform.
180 181 182 |
# File 'lib/omnibus/exceptions.rb', line 180 def initialize(platform) @platform = platform end |
Instance Method Details
#to_s ⇒ Object
184 185 186 187 188 189 |
# File 'lib/omnibus/exceptions.rb', line 184 def to_s <<~EOH Unknown platform `#{@platform}'! I do not know how to proceed!" EOH end |