module RAutomation::Adapter::Helper

Public Instance Methods

default_adapter() click to toggle source

@private Retrieves default {Adapter} for the current platform.

# File lib/rautomation/adapter/helper.rb, line 12
def default_adapter
  if ENV['OS'] == 'Windows_NT'
    :win_32
  else
    raise "unsupported platform for RAutomation: #{RUBY_PLATFORM}"
  end
end