Class: ThemeCheck::HtmlVisitor
- Inherits:
-
Object
- Object
- ThemeCheck::HtmlVisitor
- Includes:
- RegexHelpers
- Defined in:
- lib/theme_check/html_visitor.rb
Constant Summary
Constants included from RegexHelpers
RegexHelpers::LIQUID_TAG, RegexHelpers::LIQUID_TAG_OR_VARIABLE, RegexHelpers::LIQUID_VARIABLE, RegexHelpers::START_OR_END_QUOTE
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
Methods included from RegexHelpers
Constructor Details
#initialize(checks) ⇒ HtmlVisitor
Returns a new instance of HtmlVisitor.
10 11 12 13 |
# File 'lib/theme_check/html_visitor.rb', line 10 def initialize(checks) @checks = checks @placeholder_values = [] end |
Instance Attribute Details
#checks ⇒ Object (readonly)
Returns the value of attribute checks.
8 9 10 |
# File 'lib/theme_check/html_visitor.rb', line 8 def checks @checks end |