module Humpyard::UriParser

Public Class Methods

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