Sha256: ce703cfb456992c6cc05171c0539051278f4b8ac7facece4b0108e6990ef6f52

Contents?: true

Size: 466 Bytes

Versions: 1

Compression:

Stored size: 466 Bytes

Contents

# frozen_string_literal: true

require 'aranha/parsers/html/item_list'
require 'eac_ruby_utils/core_ext'

module EhbrsRubyUtils
  module Bga
    module Parsers
      class GameInProgress < ::Aranha::Parsers::Html::ItemList
        ITEMS_XPATH = '//*[@id = "gametables_inprogress_all"]' \
          '//*[starts-with(@id, "gametableblock_")]'

        field :id, :integer, './@id'

        def items_xpath
          ITEMS_XPATH
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ehbrs_ruby_utils-0.30.0 lib/ehbrs_ruby_utils/bga/parsers/game_in_progress.rb