Class: Automux::Library::MiniErb

Inherits:
ERB
  • Object
show all
Defined in:
lib/automux/library/mini_erb.rb

Instance Method Summary collapse

Constructor Details

#initialize(template) ⇒ MiniErb

Returns a new instance of MiniErb.



7
8
9
10
# File 'lib/automux/library/mini_erb.rb', line 7

def initialize(template)
  modified_template = erb_parseable_template(template)
  super(modified_template, nil, '%<>')
end