Class: Foundry::TemplateEngines::ERB

Inherits:
Object
  • Object
show all
Defined in:
lib/foundry/template_engines/erb.rb

Instance Method Summary collapse

Instance Method Details

#evaluate(str) ⇒ Object



7
8
9
# File 'lib/foundry/template_engines/erb.rb', line 7

def evaluate(str)
  ::ERB.new(str).result
end