Sha256: 6abbcb0a7662fd37e3594b12a40b9a5480bb6ef34f15528071d466e9727b8c63

Contents?: true

Size: 205 Bytes

Versions: 32

Compression:

Stored size: 205 Bytes

Contents

require "chop/diff"

module Chop
  class Table < Diff
    self.default_selector = "table"
    self.rows_finder = ->(root) { root.all("tr") }
    self.cells_finder = ->(row) { row.all("td,th") }
  end
end

Version data entries

32 entries across 32 versions & 1 rubygems

Version Path
chop-0.23.0 lib/chop/table.rb
chop-0.22.1 lib/chop/table.rb
chop-0.22.0 lib/chop/table.rb
chop-0.21.0 lib/chop/table.rb
chop-0.20.1 lib/chop/table.rb
chop-0.20.0 lib/chop/table.rb
chop-0.19.0 lib/chop/table.rb
chop-0.18.0 lib/chop/table.rb
chop-0.17.0 lib/chop/table.rb
chop-0.16.0 lib/chop/table.rb
chop-0.15.0 lib/chop/table.rb
chop-0.14.0 lib/chop/table.rb