Class: Dill::AutoTable

Inherits:
BaseTable show all
Defined in:
lib/dill/auto_table.rb

Defined Under Namespace

Classes: Row

Instance Attribute Summary

Attributes inherited from Widget

#root

Instance Method Summary collapse

Methods inherited from BaseTable

#to_table

Methods inherited from Widget

#!=, #!~, #<, #<=, #==, #=~, #>, #>=, action, #click, #diff, find_in, #has_action?, #initialize, #inspect, #match, present_in?, #reload, root, selector, #text, #to_cell, #to_f, #to_i, widget, widget_delegator

Methods included from WidgetContainer

#has_widget?, #widget

Constructor Details

This class inherits a constructor from Dill::Widget

Instance Method Details

#footersObject

don’t include footer in to_table, because footer column configuration is very often different from the headers & values.



6
7
8
# File 'lib/dill/auto_table.rb', line 6

def footers
  @footers ||= root.all(footer_selector).map { |n| node_text(n) }
end