Class: Rapid::Template::Parser::Engine
- Inherits:
-
Erubis::Basic::Engine
- Object
- Erubis::Basic::Engine
- Rapid::Template::Parser::Engine
- Defined in:
- lib/rapid/template/parser.rb
Instance Method Summary collapse
-
#initialize(*args) ⇒ Engine
constructor
A new instance of Engine.
- #root ⇒ Object
Constructor Details
#initialize(*args) ⇒ Engine
Returns a new instance of Engine.
17 18 19 20 21 |
# File 'lib/rapid/template/parser.rb', line 17 def initialize *args @nodes = [] @stack = [@nodes] super *args end |