Class: Bob::Compiler::Template
- Defined in:
- lib/bob/compiler/template.rb
Instance Method Summary collapse
-
#initialize(name, template_string) ⇒ Template
constructor
A new instance of Template.
Methods inherited from Base
#errors, #errors?, #result, #valid?, #warnings, #warnings?, #well_formed?
Constructor Details
#initialize(name, template_string) ⇒ Template
Returns a new instance of Template.
10 11 12 13 14 |
# File 'lib/bob/compiler/template.rb', line 10 def initialize(name, template_string) super() @name = name @template_string = template_string end |