Exception: HumanName::UnsupportedPlatform

Inherits:
StandardError
  • Object
show all
Defined in:
lib/humanname.rb

Instance Method Summary collapse

Constructor Details

#initializeUnsupportedPlatform

Returns a new instance of UnsupportedPlatform.



20
21
22
23
# File 'lib/humanname.rb', line 20

def initialize
  platform = Gem::Platform.local
  super("Unsupported platform: #{platform.os}-#{platform.cpu}")
end