Sha256: 28f5b11bb763278ac4711e494ab415be5ce0ac44abb3cbac39c0947945e43fa6

Contents?: true

Size: 658 Bytes

Versions: 1

Compression:

Stored size: 658 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 (Boolean) 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.4.0 lib/win32/autogui.rb