Sha256: 160a4ab23a132cef385c5fe5581d8f9f432b456ce83c30b201a67a462f969b11
Contents?: true
Size: 384 Bytes
Versions: 1
Compression:
Stored size: 384 Bytes
Contents
module Humpyard module UriParser class << self def parsers @parsers ||= [::Humpyard::UriParser::PagesUriParser, ::Humpyard::UriParser::AssetsUriParser] end def substitute content, options = {} parsers.each do |parser| content = parser.substitute content, options end return content end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
humpyard-0.0.1 | lib/humpyard/uri_parser.rb |