Sha256: 607f81fbe6fbbbf8b663d676342d564694ce4c72c9af29ea82789fd0916eb25e

Contents?: true

Size: 218 Bytes

Versions: 26

Compression:

Stored size: 218 Bytes

Contents

require "chop/definition_list"

module Chop
  class DfnDl < DefinitionList
    self.rows_finder = ->(root) do
      root.all("dfn")
    end

    self.cells_finder = ->(row) do
      row.all("dt,dd")
    end
  end
end

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
chop-0.32.0 lib/chop/dfn_dl.rb
chop-0.31.1 lib/chop/dfn_dl.rb
chop-0.31.0 lib/chop/dfn_dl.rb
chop-0.30.0 lib/chop/dfn_dl.rb
chop-0.29.0 lib/chop/dfn_dl.rb
chop-0.28.1 lib/chop/dfn_dl.rb
chop-0.28.0 lib/chop/dfn_dl.rb
chop-0.27.0 lib/chop/dfn_dl.rb
chop-0.26.1 lib/chop/dfn_dl.rb
chop-0.26.0 lib/chop/dfn_dl.rb
chop-0.25.2 lib/chop/dfn_dl.rb
chop-0.25.1 lib/chop/dfn_dl.rb
chop-0.25.0 lib/chop/dfn_dl.rb
chop-0.24.0 lib/chop/dfn_dl.rb
chop-0.23.8 lib/chop/dfn_dl.rb
chop-0.23.7 lib/chop/dfn_dl.rb
chop-0.23.6 lib/chop/dfn_dl.rb
chop-0.23.5 lib/chop/dfn_dl.rb
chop-0.23.4 lib/chop/dfn_dl.rb
chop-0.23.3 lib/chop/dfn_dl.rb