summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorrandym <[email protected]>2018-02-07 11:20:39 +0900
committerrandym <[email protected]>2018-02-07 11:20:39 +0900
commit14c05d69ddf555528bb20991d289454d5350969c (patch)
treee75e3272e5e925016a28942b5b33218125286920
parent486fe82cdf4053e48e7a8357f4da32ae3d365433 (diff)
downloadcaxlsx-14c05d69ddf555528bb20991d289454d5350969c.tar.gz
caxlsx-14c05d69ddf555528bb20991d289454d5350969c.zip
fix(docs): patch docs returns -> return
-rw-r--r--lib/axlsx/workbook/worksheet/rich_text_run.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/axlsx/workbook/worksheet/rich_text_run.rb b/lib/axlsx/workbook/worksheet/rich_text_run.rb
index 5dcc86a4..7ee3bf3a 100644
--- a/lib/axlsx/workbook/worksheet/rich_text_run.rb
+++ b/lib/axlsx/workbook/worksheet/rich_text_run.rb
@@ -169,7 +169,7 @@ module Axlsx
# Tries to work out the width of the longest line in the run
# @param [Array] widtharray this array is populated with the widths of each line in the run.
- # @returns [Array]
+ # @return [Array]
def autowidth(widtharray)
return if value.nil?
if styles.cellXfs[style].alignment && styles.cellXfs[style].alignment.wrap_text