Class: Dill::BaseTable

Inherits:
Widget
  • Object
show all
Defined in:
lib/dill/base_table.rb

Direct Known Subclasses

AutoTable, Table

Instance Attribute Summary

Attributes inherited from Widget

#root

Instance Method Summary collapse

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

#to_tableObject



3
4
5
6
7
# File 'lib/dill/base_table.rb', line 3

def to_table
  ensure_table_loaded

  headers.any? ? [headers, *values] : values
end