Sha256: d5fc70ac48fdbed5a5495e2d74a689c188b5d01631f16359cc9dcaaa5ab1a2aa

Contents?: true

Size: 648 Bytes

Versions: 1

Compression:

Stored size: 648 Bytes

Contents

# require all files here
require 'win32/autogui/logging'
require 'win32/autogui/input'
require 'win32/autogui/window'
require 'win32/autogui/application'

# Master namespace
module Autogui
  
  # Contents of the VERSION file
  #
  # Example format: 0.0.1
  #
  # @return [String] the contents of the version file in #.#.# format
  def self.version
    version_info_file = File.join(File.dirname(__FILE__), *%w[.. .. VERSION])
    File.open(version_info_file, "r") do |f|
      f.read.strip
    end
  end

  # @return False (nil) or True (Integer)
  def self.win32?
    RUBY_PLATFORM =~ /mingw|mswin|cygwin/i
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
win32-autogui-0.3.0 lib/win32/autogui.rb