Exception: UnknownPlatformError
- Inherits:
-
StandardError
- Object
- StandardError
- UnknownPlatformError
- Defined in:
- lib/chauffeur/unknown_platform_error.rb
Overview
This class gets thrown when the platform is something other than:
mingw32
mac
linux
Instance Method Summary collapse
-
#initialize(platform, msg = nil) ⇒ UnknownPlatformError
constructor
A new instance of UnknownPlatformError.
Constructor Details
#initialize(platform, msg = nil) ⇒ UnknownPlatformError
Returns a new instance of UnknownPlatformError.
6 7 8 9 |
# File 'lib/chauffeur/unknown_platform_error.rb', line 6 def initialize(platform, msg = nil) msg ||= "Unknown OS: #{platform}" super(msg) end |