Sha256: c38e2f4d6376faae804a74d784e02f13eda22201bbb7145ceb525c436a351b4d

Contents?: true

Size: 446 Bytes

Versions: 4

Compression:

Stored size: 446 Bytes

Contents

module RAutomation
  module Implementations
    autoload :AutoIt, File.dirname(__FILE__) + "/autoit.rb"

    module Helper
      extend self

      # @private
      def default_implementation
        case RUBY_PLATFORM
          when /mswin|msys|mingw32/
            Implementations::AutoIt::Window
          else
            raise "unsupported platform for RAutomation: #{RUBY_PLATFORM}"
        end
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
rautomation-0.0.4 lib/rautomation/implementations/helper.rb
rautomation-0.0.3 lib/rautomation/implementations/helper.rb
rautomation-0.0.2 lib/rautomation/implementations/helper.rb
rautomation-0.0.1 lib/rautomation/implementations/helper.rb