Sha256: 6593092bfb1c9f2fac23d87a888a8272f579251db44116ed39f5de89519ad1d3

Contents?: true

Size: 209 Bytes

Versions: 1

Compression:

Stored size: 209 Bytes

Contents

module Watir
  class DList < HTMLElement

    def to_hash
      keys = dts.map { |e| e.text }
      values = dds.map { |e| e.text }

      Hash[keys.zip(values)]
    end

  end # DList
end # Watir

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
watir-6.10.1 lib/watir/elements/dlist.rb