module Exlibris::Primo::Pnx::Links

Handle links in links tags.

Public Instance Methods

fulltexts() click to toggle source

Parse linktorsrc tags to find full text links

# File lib/exlibris/primo/pnx/links.rb, line 11
def fulltexts
  @fulltexts ||=
    links("linktorsrc").collect { |link_attributes|
      Exlibris::Primo::Fulltext.new link_attributes }
end
tables_of_contents() click to toggle source

Parse linktotoc tags to find table of contents links

# File lib/exlibris/primo/pnx/links.rb, line 29
def tables_of_contents
  @tables_of_contents ||=
    links("linktotoc").collect { |link_attributes|
      Exlibris::Primo::TableOfContents.new link_attributes }
end

Private Instance Methods