Module: Uia::Patterns::Table
- Defined in:
- lib/uia/patterns/table.rb
Defined Under Namespace
Modules: Row
Instance Method Summary collapse
Instance Method Details
#column_count ⇒ Object
14 15 16 |
# File 'lib/uia/patterns/table.rb', line 14 def column_count table_info.column_count end |
#headers ⇒ Object
18 19 20 |
# File 'lib/uia/patterns/table.rb', line 18 def headers Library.table_headers @element end |
#row_at(index) ⇒ Object
22 23 24 |
# File 'lib/uia/patterns/table.rb', line 22 def row_at(index) Library.table_row(@element, index).extend Row end |
#row_count ⇒ Object
10 11 12 |
# File 'lib/uia/patterns/table.rb', line 10 def row_count table_info.row_count end |
#rows ⇒ Object
26 27 28 |
# File 'lib/uia/patterns/table.rb', line 26 def rows find_all(control_type: :data_item).each { |e| e.extend Row } end |