Class: Cucumber::Salad::Widgets::BaseTable
- Defined in:
- lib/cucumber/salad/widgets/base_table.rb
Instance Attribute Summary
Attributes inherited from Widget
Instance Method Summary collapse
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
#to_table ⇒ Object
5 6 7 8 9 |
# File 'lib/cucumber/salad/widgets/base_table.rb', line 5 def to_table ensure_table_loaded headers.any? ? [headers, *values] : values end |