Sha256: 6988cf7940fa8c3a65cb2f747e2def3b0ac7b775d3655485f85c732b3d8ad9a0

Contents?: true

Size: 189 Bytes

Versions: 1

Compression:

Stored size: 189 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
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
watir-webdriver-0.6.1 lib/watir-webdriver/elements/dlist.rb