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...
Browser ini sudah tidak didukung.
Mutakhirkan ke Microsoft Edge untuk memanfaatkan fitur, pembaruan keamanan, dan dukungan teknis terkini.
The proper way, so they say:
require 'rbconfig' WINDOZE = Config::CONFIG['host_os'] =~ /mswin|mingw/
Sigh. Makes one yearn for Python. Even 1.5...