Class: EhbrsRubyUtils::Bga::Parsers::Table::Options
- Inherits:
-
Aranha::Parsers::Html::ItemList
- Object
- Aranha::Parsers::Html::ItemList
- EhbrsRubyUtils::Bga::Parsers::Table::Options
- Defined in:
- lib/ehbrs_ruby_utils/bga/parsers/table/options.rb
Constant Summary collapse
- ITEMS_XPATH =
'//div[starts-with(@id, "gameoption_") ' \ 'and not(contains(@style, "none"))]'
Instance Method Summary collapse
Instance Method Details
#data ⇒ Object
24 25 26 |
# File 'lib/ehbrs_ruby_utils/bga/parsers/table/options.rb', line 24 def data super.reject { |item| item.fetch(:label).blank? } end |
#items_xpath ⇒ Object
20 21 22 |
# File 'lib/ehbrs_ruby_utils/bga/parsers/table/options.rb', line 20 def items_xpath ITEMS_XPATH end |