Sha256: 58d8669bd30e29526ea14215eca4b192c8a80c6aac8021e568d597dc0e4171ac
Contents?: true
Size: 286 Bytes
Versions: 1
Compression:
Stored size: 286 Bytes
Contents
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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rails-footnotes-3.7.3 | lib/rails-footnotes/notes/stylesheets_note.rb |