Sha256: 8700e0746aeba7f3a00da33d4fdbfeb8a43f9f1f11471aab3eabdbdd12716312
Contents?: true
Size: 438 Bytes
Versions: 2
Compression:
Stored size: 438 Bytes
Contents
require "usagewatch_ext/version" module UsagewatchExt os = RUBY_PLATFORM text = "OS is not supported in this version." if os.include? "darwin" require "usagewatch_ext/mac" puts "Mac version is under development" elsif os.include? "linux" require "usagewatch/linux" UsagewatchExt = Usagewatch elsif os =~ /cygwin|mswin|mingw|bccwin|wince|emx/ puts "Windows" + text else puts "This" + text end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
usagewatch_ext-0.0.3 | lib/usagewatch_ext.rb |
usagewatch_ext-0.0.2 | lib/usagewatch_ext.rb |