lib/write_xlsx/worksheet.rb in write_xlsx-0.77.0 vs lib/write_xlsx/worksheet.rb in write_xlsx-0.77.1
- old
+ new
@@ -1304,10 +1304,10 @@
# are different from the defaults used in the binary file format
# by writeexcel gem.
#
def set_margins(margin)
put_deprecate_message("#{self}.set_margins")
- self::margin = margin
+ self::margins = margin
end
#
# this method is deprecated. use margin_left_right=().
# Set the left and right margins to the same value in inches.