Sha256: 498a75d0ed1ade6c918e7f6a53b8e4676232ef7a629c25f56d837a7ab4e02a19

Contents?: true

Size: 181 Bytes

Versions: 20

Compression:

Stored size: 181 Bytes

Contents

module Watir
  class DList < HTMLElement
    def to_hash
      keys = dts.map(&:text)
      values = dds.map(&:text)

      Hash[keys.zip(values)]
    end
  end # DList
end # Watir

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
watir-7.1.0 lib/watir/elements/dlist.rb
watir-7.0.0 lib/watir/elements/dlist.rb
watir-7.0.0.beta5 lib/watir/elements/dlist.rb
watir-7.0.0.beta4 lib/watir/elements/dlist.rb
watir-7.0.0.beta3 lib/watir/elements/dlist.rb
watir-7.0.0.beta2 lib/watir/elements/dlist.rb
watir-7.0.0.beta1 lib/watir/elements/dlist.rb
watir-6.19.1 lib/watir/elements/dlist.rb
watir-6.19.0 lib/watir/elements/dlist.rb
watir-6.18.0 lib/watir/elements/dlist.rb
watir-6.17.0 lib/watir/elements/dlist.rb
watir-6.16.5 lib/watir/elements/dlist.rb
watir-6.16.4 lib/watir/elements/dlist.rb
watir-6.16.3 lib/watir/elements/dlist.rb
watir-6.16.2 lib/watir/elements/dlist.rb
watir-6.16.1 lib/watir/elements/dlist.rb
watir-6.16.0 lib/watir/elements/dlist.rb
watir-6.15.1 lib/watir/elements/dlist.rb
watir-6.15.0 lib/watir/elements/dlist.rb
watir-6.14.0 lib/watir/elements/dlist.rb