Class: Bob::Compiler::Template

Inherits:
Base
  • Object
show all
Defined in:
lib/bob/compiler/template.rb

Instance Method Summary collapse

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