class Docxi::Word::Footers
Attributes
counter[RW]
Public Class Methods
new()
click to toggle source
# File lib/docxi/word/footers.rb, line 8 def initialize @footers = [] @counter = 0 end
Public Instance Methods
add(footer)
click to toggle source
# File lib/docxi/word/footers.rb, line 13 def add(footer) @footers << footer footer end
render(zip)
click to toggle source
# File lib/docxi/word/footers.rb, line 22 def render(zip) @footers.each do |footer| footer.render(zip) end end
sequence()
click to toggle source
# File lib/docxi/word/footers.rb, line 18 def sequence @counter += 1 end