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