Class Footnotes::Notes::StylesheetsNote
In: lib/rails-footnotes/notes/stylesheets_note.rb
Parent: FilesNote

Methods

scan_text   title  

Public Instance methods

[Source]

# File lib/rails-footnotes/notes/stylesheets_note.rb, line 6
      def title
        "Stylesheets (#{@files.length})"
      end

Protected Instance methods

[Source]

# File lib/rails-footnotes/notes/stylesheets_note.rb, line 11
        def scan_text(text)
          text.scan(/<link[^>]+href\s*=\s*['"]([^>?'"]+\.css)/im).flatten
        end

[Validate]