lib/watir/cell_container.rb in watir-6.10.0 vs lib/watir/cell_container.rb in watir-6.10.1

- old
+ new

@@ -1,25 +1,25 @@ -module Watir - module CellContainer - - # - # Returns table cell. - # - # @return [Cell] - # - - def cell(*args) - Cell.new(self, extract_selector(args).merge(tag_name: /^(th|td)$/)) - end - - # - # Returns table cells collection. - # - # @return [Cell] - # - - def cells(*args) - CellCollection.new(self, extract_selector(args).merge(tag_name: /^(th|td)$/)) - end - - end # CellContainer -end # Watir +module Watir + module CellContainer + + # + # Returns table cell. + # + # @return [Cell] + # + + def cell(*args) + Cell.new(self, extract_selector(args).merge(tag_name: /^(th|td)$/)) + end + + # + # Returns table cells collection. + # + # @return [Cell] + # + + def cells(*args) + CellCollection.new(self, extract_selector(args).merge(tag_name: /^(th|td)$/)) + end + + end # CellContainer +end # Watir