Sha256: f7dc285ff62fda389a92a9a6f0491002d06b60165d4ae21408a08bc976c16651
Contents?: true
Size: 228 Bytes
Versions: 28
Compression:
Stored size: 228 Bytes
Contents
module SmallCage class RelpathFilter def initialize(opts) end def after_rendering_filter(obj, str) relpath = "../" * (obj["dirs"].size - 1) return str.gsub(%r{="/}, "=\"#{relpath}") end end end
Version data entries
28 entries across 28 versions & 2 rubygems