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.31.0 lib/chop/table.rb
chop-0.30.0 lib/chop/table.rb
chop-0.29.0 lib/chop/table.rb
chop-0.28.1 lib/chop/table.rb
chop-0.28.0 lib/chop/table.rb
chop-0.27.0 lib/chop/table.rb
chop-0.26.1 lib/chop/table.rb
chop-0.26.0 lib/chop/table.rb
chop-0.25.2 lib/chop/table.rb
chop-0.25.1 lib/chop/table.rb
chop-0.25.0 lib/chop/table.rb
chop-0.24.0 lib/chop/table.rb
chop-0.23.8 lib/chop/table.rb
chop-0.23.7 lib/chop/table.rb
chop-0.23.6 lib/chop/table.rb
chop-0.23.5 lib/chop/table.rb
chop-0.23.4 lib/chop/table.rb
chop-0.23.3 lib/chop/table.rb
chop-0.23.2 lib/chop/table.rb
chop-0.23.1 lib/chop/table.rb