summaryrefslogtreecommitdiffhomepage
path: root/lib/axlsx/workbook/worksheet/worksheet_comments.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/axlsx/workbook/worksheet/worksheet_comments.rb')
-rw-r--r--lib/axlsx/workbook/worksheet/worksheet_comments.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/axlsx/workbook/worksheet/worksheet_comments.rb b/lib/axlsx/workbook/worksheet/worksheet_comments.rb
index d8aed8e0..c40587ae 100644
--- a/lib/axlsx/workbook/worksheet/worksheet_comments.rb
+++ b/lib/axlsx/workbook/worksheet/worksheet_comments.rb
@@ -20,7 +20,7 @@ module Axlsx
# Adds a comment
# @param [Hash] options
# @see Comments#add_comment
- def add_comment(options={})
+ def add_comment(options = {})
comments.add_comment(options)
end
@@ -41,7 +41,7 @@ module Axlsx
# @see Relationship#Id
# @return [String]
def drawing_rId
- comments.relationships.find{ |r| r.Type == VML_DRAWING_R }.Id
+ comments.relationships.find { |r| r.Type == VML_DRAWING_R }.Id
end
# Seraalize the object