# File lib/cucumber/webrat/element_locator.rb, line 16 def to_table case element.name when 'table' table_from_table when 'dl' table_from_dl when /ul|ol/ table_from_list else raise "#to_table not supported for #{element.name} elements" end end