Sha256: 4703f668ebdd74dfacf3c6835727c8e5f8b013a52b685156dd2c73d557185a73
Contents?: true
Size: 543 Bytes
Versions: 3
Compression:
Stored size: 543 Bytes
Contents
module RAutomation module Adapter module Ffi # @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[:id] = locators[:id].to_i if locators[:id] @locators = locators end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
rautomation-0.3.0 | lib/rautomation/adapter/ffi/locators.rb |
rautomation-0.2.1 | lib/rautomation/adapter/ffi/locators.rb |
rautomation-0.2.0 | lib/rautomation/adapter/ffi/locators.rb |