Sha256: 4f5001d630b189ddf3679b03f5e10bbc679c03f0436bb2e851b269b5153593ef
Contents?: true
Size: 600 Bytes
Versions: 4
Compression:
Stored size: 600 Bytes
Contents
module RAutomation module Adapter module WinFfi # @private module Locators private def extract(locators) # windows locators @hwnd = locators[:hwnd].to_i if locators[:hwnd] locators[:pid] = locators[:pid].to_i if locators[:pid] locators[:index] = locators[:index].to_i if locators[:index] # control locator locators = self.class::DEFAULT_LOCATORS.merge(locators) if self.class.const_defined?(:DEFAULT_LOCATORS) @locators = locators end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems