Class: Gitlab::TemplateParser::EvalState
- Inherits:
-
Object
- Object
- Gitlab::TemplateParser::EvalState
- Defined in:
- lib/gitlab/template_parser/eval_state.rb
Overview
A class for tracking state when evaluating a template
Constant Summary collapse
- MAX_LOOPS =
4
Instance Method Summary collapse
- #enter_loop ⇒ Object
-
#initialize ⇒ EvalState
constructor
A new instance of EvalState.
Constructor Details
#initialize ⇒ EvalState
Returns a new instance of EvalState.
9 10 11 |
# File 'lib/gitlab/template_parser/eval_state.rb', line 9 def initialize @loops = 0 end |