Sha256: aa8ca430cc28430791129a278824994802c37e46f627148271b950a0fae41443

Contents?: true

Size: 452 Bytes

Versions: 4

Compression:

Stored size: 452 Bytes

Contents

require "usagewatch_ext/version"

module UsagewatchExt
  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"
    require "usagewatch_ext/linux"
    UsagewatchExt = Usagewatch
  elsif OS =~ /cygwin|mswin|mingw|bccwin|wince|emx/
    puts "Windows" + text
  else
    puts "This" + text
  end

end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
usagewatch_ext-0.2.1 lib/usagewatch_ext.rb
usagewatch_ext-0.2.0 lib/usagewatch_ext.rb
usagewatch_ext-0.1.0 lib/usagewatch_ext.rb
usagewatch_ext-0.0.4.pre1 lib/usagewatch_ext.rb