code: def footer(type=FooterNode::UNIVERSAL)
           index = 0
           if type == FooterNode::LEFT_PAGE
              index = 1
           elsif type == FooterNode::RIGHT_PAGE
              index = 2
           elsif type == FooterNode::FIRST_PAGE
              index = 3
           end
           @footers[index]
        end
docs: This method fetches a footer from a Document object.
  
   ==== Parameters
   type::  One of the footer types defined in the footer class. Defaults to
           FooterNode::UNIVERSAL.