module Selenium::WebDriver::Interactions::PointerEventProperties
def process_opts
def process_opts raise ArgumentError, "Unknown options found: #{@opts.inspect}" unless (@opts.keys - VALID.keys).empty? VALID.each_with_object({}) do |(key, val), hash| next unless @opts.key?(key) name = val.keys.first values = val.values.first hash[name] = assert_number(@opts[key], values[:min], values[:max]) end end