Sha256: d0817d567fdaeb49d98ec7a89d52d32d495153288a8e2142e2b24cb62d2575c5

Contents?: true

Size: 557 Bytes

Versions: 21

Compression:

Stored size: 557 Bytes

Contents

module RAutomation
  module Adapter
    autoload :Autoit, File.dirname(__FILE__) + "/autoit.rb"
    autoload :MsUia, File.dirname(__FILE__) + "/ms_uia.rb"
    autoload :Win32, File.dirname(__FILE__) + "/win_32.rb"

    module Helper
      extend self

      # @private
      # Retrieves default {Adapter} for the current platform.
      def default_adapter
        if ENV['OS'] == 'Windows_NT'
          :win_32
        else
          raise "unsupported platform for RAutomation: #{RUBY_PLATFORM}"
        end
      end
    end
  end
end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
rautomation-1.1.0 lib/rautomation/adapter/helper.rb
rautomation-1.0.0 lib/rautomation/adapter/helper.rb
rautomation-0.17.0 lib/rautomation/adapter/helper.rb
rautomation-0.16.0 lib/rautomation/adapter/helper.rb
rautomation-0.15.0 lib/rautomation/adapter/helper.rb
rautomation-0.14.1 lib/rautomation/adapter/helper.rb
rautomation-0.14.0 lib/rautomation/adapter/helper.rb
rautomation-0.13.0 lib/rautomation/adapter/helper.rb
rautomation-0.12.0 lib/rautomation/adapter/helper.rb
rautomation-0.11.0 lib/rautomation/adapter/helper.rb
rautomation-0.10.0 lib/rautomation/adapter/helper.rb
rautomation-0.9.4 lib/rautomation/adapter/helper.rb
rautomation-0.9.3 lib/rautomation/adapter/helper.rb
rautomation-0.9.2 lib/rautomation/adapter/helper.rb
rautomation-0.9.1 lib/rautomation/adapter/helper.rb
rautomation-0.9.0 lib/rautomation/adapter/helper.rb
rautomation-0.8.0 lib/rautomation/adapter/helper.rb
rautomation-0.7.3 lib/rautomation/adapter/helper.rb
rautomation-0.7.2 lib/rautomation/adapter/helper.rb
rautomation-0.7.1 lib/rautomation/adapter/helper.rb