Class: ThemeCheck::HtmlVisitor
- Inherits:
-
Object
- Object
- ThemeCheck::HtmlVisitor
- Defined in:
- lib/theme_check/html_visitor.rb
Instance Attribute Summary collapse
-
#checks ⇒ Object
readonly
Returns the value of attribute checks.
Instance Method Summary collapse
-
#initialize(checks) ⇒ HtmlVisitor
constructor
A new instance of HtmlVisitor.
- #visit_template(template) ⇒ Object
Constructor Details
#initialize(checks) ⇒ HtmlVisitor
Returns a new instance of HtmlVisitor.
9 10 11 |
# File 'lib/theme_check/html_visitor.rb', line 9 def initialize(checks) @checks = checks end |
Instance Attribute Details
#checks ⇒ Object (readonly)
Returns the value of attribute checks.
7 8 9 |
# File 'lib/theme_check/html_visitor.rb', line 7 def checks @checks end |