File: attribute.rb

package info (click to toggle)
ruby-html-proofer 5.2.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 22,524 kB
  • sloc: ruby: 4,389; sh: 8; makefile: 4; javascript: 1; php: 1
file content (15 lines) | stat: -rw-r--r-- 309 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# frozen_string_literal: true

module HTMLProofer
  # Represents an element currently being processed
  class Attribute
    include HTMLProofer::Utils

    attr_reader :raw_attribute

    def initialize(runner, raw_attribute, **_)
      @runner = runner
      @raw_attribute = raw_attribute
    end
  end
end