class Watir::CellCollection

Public Instance Methods

elements() click to toggle source
Calls superclass method
# File lib/watir/elements/cell.rb, line 10
def elements
  # we do this craziness since the xpath used will find direct child rows
  # before any rows inside thead/tbody/tfoot...
  super.sort_by { |e| e.attribute(:cellIndex).to_i }
end