Sha256: 389a5d0e192c3152a42b05e6735907e26aaa26ab23a0534299960e8cc9230ef9
Contents?: true
Size: 330 Bytes
Versions: 29
Compression:
Stored size: 330 Bytes
Contents
require "rails-footnotes/notes/files_note" module Footnotes module Notes class StylesheetsNote < FilesNote def title "Stylesheets (#{@files.length})" end protected def scan_text(text) text.scan(/<link[^>]+href\s*=\s*['"]([^>?'"]+\.css)/im).flatten end end end end
Version data entries
29 entries across 29 versions & 2 rubygems