Detect Windows in Ruby
The proper way, so they say:
require 'rbconfig' WINDOZE = Config::CONFIG['host_os'] =~ /mswin|mingw/
Sigh. Makes one yearn for Python. Even 1.5...
Deze browser wordt niet meer ondersteund.
Upgrade naar Microsoft Edge om te profiteren van de nieuwste functies, beveiligingsupdates en technische ondersteuning.
The proper way, so they say:
require 'rbconfig' WINDOZE = Config::CONFIG['host_os'] =~ /mswin|mingw/
Sigh. Makes one yearn for Python. Even 1.5...