lib/rtf/node.rb
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
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
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
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.
This method fetches a footer from a Document object .