summaryrefslogtreecommitdiffhomepage
path: root/lib/axlsx/workbook/worksheet/page_margins.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/axlsx/workbook/worksheet/page_margins.rb')
-rw-r--r--lib/axlsx/workbook/worksheet/page_margins.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/axlsx/workbook/worksheet/page_margins.rb b/lib/axlsx/workbook/worksheet/page_margins.rb
index 19402a6d..d2349f9e 100644
--- a/lib/axlsx/workbook/worksheet/page_margins.rb
+++ b/lib/axlsx/workbook/worksheet/page_margins.rb
@@ -84,10 +84,10 @@ module Axlsx
def footer=(v); Axlsx::validate_unsigned_numeric(v); @footer = v end
# Serializes the page margins element
+ # @param [String] str
+ # @return [String]
# @note For compatibility, this is a noop unless custom margins have been specified.
# @see #custom_margins_specified?
- # @param [String] str
- # @retrun [String]
def to_xml_string(str = '')
str << '<pageMargins '
str << instance_values.map { |key, value| '' << key << '="' << value.to_s << '"' }.join(' ')