Sha256: c5fe0bc51765e1d47ec98c9dfb5448827d3ed83c71ea24ffbfce7216b61bb811

Contents?: true

Size: 733 Bytes

Versions: 6

Compression:

Stored size: 733 Bytes

Contents

# require all files here
require 'rbconfig'
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

  # Platform constants
  unless defined?(Autogui::WINDOWS)
    WINDOWS = Config::CONFIG['host_os'] =~ /mswin|mingw/i
    CYGWIN = Config::CONFIG['host_os'] =~ /cygwin/i
  end

end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
win32-autogui-0.5.2 lib/win32/autogui.rb
win32-autogui-0.5.1 lib/win32/autogui.rb
win32-autogui-0.5.0 lib/win32/autogui.rb
win32-autogui-0.4.3 lib/win32/autogui.rb
win32-autogui-0.4.2 lib/win32/autogui.rb
win32-autogui-0.4.1 lib/win32/autogui.rb