Exception: Omnibus::UnknownPlatform

Inherits:
Error
  • Object
show all
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

Constructor Details

#initialize(platform) ⇒ UnknownPlatform


180
181
182
# File 'lib/omnibus/exceptions.rb', line 180

def initialize(platform)
  @platform = platform
end

Instance Method Details

#to_sObject


184
185
186
187
188
189
# File 'lib/omnibus/exceptions.rb', line 184

def to_s
  "Unknown platform `\#{@platform}'!\nI do not know how to proceed!\"\n"
end