Method: ANTLR3::Template::Builder#initialize
- Defined in:
- lib/antlr3/template.rb
#initialize(input, options = {}) ⇒ Object
41 42 43 44 45 46 47 |
# File 'lib/antlr3/template.rb', line 41 def initialize( input, = {} ) templates = @templates || .fetch( :templates ) do self.class.template_library or ANTLR3::Template::Group.new end super( input, ) self.templates = templates end |