summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAndrew Grimm <[email protected]>2014-01-06 09:23:59 +1100
committerJurriaan Pruis <[email protected]>2014-01-06 09:36:50 +0100
commit986ee4d4087cfbac4de1d13f3b660386917e7035 (patch)
tree1ca3cc7e3b4624455cde7c74ee51d4a2dd7695c2
parent40c1d19e98dba73997ad773ef019570e9afd560c (diff)
downloadcaxlsx-986ee4d4087cfbac4de1d13f3b660386917e7035.tar.gz
caxlsx-986ee4d4087cfbac4de1d13f3b660386917e7035.zip
Update header_footer.rb
Fix documentation.
-rw-r--r--lib/axlsx/workbook/worksheet/header_footer.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/axlsx/workbook/worksheet/header_footer.rb b/lib/axlsx/workbook/worksheet/header_footer.rb
index a40ad853..98f586c3 100644
--- a/lib/axlsx/workbook/worksheet/header_footer.rb
+++ b/lib/axlsx/workbook/worksheet/header_footer.rb
@@ -19,8 +19,8 @@ module Axlsx
# @option options [String] odd_footer The content for footers on odd numbered pages.
# @option options [String] even_header The content for headers on even numbered pages.
# @option options [String] even_footer The content for footers on even numbered pages.
- # @option options [String] first_header The content for headers on even numbered pages.
- # @option options [String] first_footer The content for footers on even numbered pages.
+ # @option options [String] first_header The content for headers on the first page.
+ # @option options [String] first_footer The content for footers on the first page.
# @option options [Boolean] different_odd_even Setting this to true will show different headers/footers on odd and even pages. When false, the odd headers/footers are used on each page. (Default: false)
# @option options [Boolean] different_first If true, will use the first header/footer on page 1. Otherwise, the odd header/footer is used.
def initialize(options = {})