Sha256: 6a4efcaec2f9c48c789af550aeca6009e1038b0bbc3d06a20049de1ffdbd13b1
Contents?: true
Size: 623 Bytes
Versions: 16
Compression:
Stored size: 623 Bytes
Contents
# frozen_string_literal: true require 'aranha/parsers/html/item' require 'aranha/parsers/html/item_list' require 'dentaku' require 'eac_ruby_utils/core_ext' module EhbrsRubyUtils module Bga module Parsers class Table < ::Aranha::Parsers::Html::Item class ActivePlayers < ::Aranha::Parsers::Html::ItemList ITEMS_XPATH = '//div[starts-with(@id, "active_player_")]' field :id, :integer, './@id' field :name, :string, './/*[contains(@class, "active_player_fullname")]' def items_xpath ITEMS_XPATH end end end end end end
Version data entries
16 entries across 16 versions & 1 rubygems