Exception: UnknownPlatformError

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

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