module Humpyard::UriParser

Public Class Methods

parsers() click to toggle source
# File lib/humpyard/uri_parser.rb, line 4
def parsers
  @parsers ||= [::Humpyard::UriParser::PagesUriParser, ::Humpyard::UriParser::AssetsUriParser]
end
substitute(content, options = {}) click to toggle source
# File lib/humpyard/uri_parser.rb, line 8
def substitute content, options = {}
  parsers.each do |parser|
    content = parser.substitute content, options
  end
  return content
end