Method: Eql.template

Defined in:
lib/eql.rb

.template(erb) ⇒ Eql::Builder

Load a builder with template content

Parameters:

  • erb (String)

    template’s content

Returns:



50
51
52
# File 'lib/eql.rb', line 50

def template(erb)
  new.tap { |b| b.template(erb) }
end