summaryrefslogtreecommitdiffhomepage
path: root/lib/axlsx/workbook/worksheet/comments.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/axlsx/workbook/worksheet/comments.rb')
-rw-r--r--lib/axlsx/workbook/worksheet/comments.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/axlsx/workbook/worksheet/comments.rb b/lib/axlsx/workbook/worksheet/comments.rb
index b27a1940..abf24763 100644
--- a/lib/axlsx/workbook/worksheet/comments.rb
+++ b/lib/axlsx/workbook/worksheet/comments.rb
@@ -20,7 +20,7 @@ module Axlsx
# The part name for this object
# @return [String]
def pn
- COMMENT_PN % (index + 1)
+ format(COMMENT_PN, index + 1)
end
# Creates a new Comments object