Class: Cucumber::Salad::Widgets::AutoTable
- Defined in:
- lib/cucumber/salad/widgets/auto_table.rb
Defined Under Namespace
Classes: Row
Instance Attribute Summary
Attributes inherited from Widget
Instance Method Summary collapse
-
#footers ⇒ Object
don’t include footer in to_table, because footer column configuration is very often different from the headers & values.
Methods inherited from BaseTable
Methods inherited from Widget
find_in, #has_action?, #initialize, #inspect, present_in?, #reload, root, selector, #to_s
Methods included from Cucumber::Salad::WidgetMacros
#action, #widget, #widget_delegator
Methods included from Cucumber::Salad::WidgetContainer
Constructor Details
This class inherits a constructor from Cucumber::Salad::Widgets::Widget
Instance Method Details
#footers ⇒ Object
don’t include footer in to_table, because footer column configuration is very often different from the headers & values.
8 9 10 |
# File 'lib/cucumber/salad/widgets/auto_table.rb', line 8 def @footers ||= root.all().map { |n| node_text(n) } end |