Class: Rapid::Template::Parser
- Inherits:
-
Object
- Object
- Rapid::Template::Parser
- Defined in:
- lib/rapid/template/parser.rb
Defined Under Namespace
Classes: Engine
Instance Method Summary collapse
-
#initialize(content) ⇒ Parser
constructor
A new instance of Parser.
- #parse ⇒ Object
Constructor Details
#initialize(content) ⇒ Parser
Returns a new instance of Parser.
6 7 8 9 |
# File 'lib/rapid/template/parser.rb', line 6 def initialize content @content = content.clone @is_first = true end |