lib/roo/excel.rb
# this method lets you find the worksheet with the most data
this method lets you find the worksheet with the most data
this method lets you find the worksheet with the most data
def longest_sheet
    sheet(@workbook.worksheets.inject {|m,o|
      o.row_count > m.row_count ? o : m
    }.name)
  end
def longest_sheet sheet ( @workbook . worksheets . inject { | m , o | o . row_count > m . row_count ? o : m } . name ) end
this method lets you find the worksheet with the most data
this method lets you find the worksheet with the most data