lib/infoboxer/tree/table.rb in infoboxer-0.1.2.1 vs lib/infoboxer/tree/table.rb in infoboxer-0.2.0
- old
+ new
@@ -27,10 +27,10 @@
def heading_row
rows.first.children.all?(&call(matches?: TableHeading)) ?
rows.first : nil
end
- # For now, returns all table rows except {heading_row}
+ # For now, returns all table rows except {#heading_row}
def body_rows
rows.first.children.all?(&call(matches?: TableHeading)) ?
rows[1..-1] :
rows
end