Skip to content

Commit

Permalink
Worksheet#top_left_reference just returns 'A1'
Browse files Browse the repository at this point in the history
  • Loading branch information
sato sawahiko committed Mar 4, 2018
1 parent 13b5105 commit da460ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/axlsx/workbook/worksheet/worksheet.rb
Original file line number Diff line number Diff line change
Expand Up @@ -642,7 +642,7 @@ def outline_level_columns(start_index, end_index, level = 1, collapsed = true)
# @return String
def top_left_reference
raise "worksheet has no data" if rows.empty? or rows.first.empty?
rows.first.first.r
'A1'
end

# The excel-style reference of the bottom-right cell of this worksheet, e.g., D5
Expand Down

0 comments on commit da460ec

Please sign in to comment.