Sha256: 30d384044e9431b1eafd538ee81f3836b24fa6adcf4dc791fa2173bacf9c1d98
Contents?: true
Size: 424 Bytes
Versions: 9
Compression:
Stored size: 424 Bytes
Contents
module Mohawk module Adapters module UIA module ElementLocator private def find_element(value) case value when Regexp all_items.find { |e| e.name =~ value } when String all_items.find { |e| e.name == value } when Fixnum all_items[value] end end end end end end
Version data entries
9 entries across 9 versions & 1 rubygems