module RAutomation module Implementations module AutoIt module Locators private def extract(locators) #:nodoc: @locators = "[#{locators.map do |locator, value| locator_key = self.class::LOCATORS[locator] || self.class::LOCATORS[[locator, value.class]] value = value.to_s(16) if locator == :hwnd "#{(locator_key || locator)}:#{value}" end.join(";")}]" end end end end end