3 4 5 6 7 8 9 10 11
# File 'lib/ontomde-core/customERB.rb', line 3 def loadTPL(name) tpl='' File.open(name) { |f| f.each { |l| tpl=tpl+l } } return CustomERB.new(tpl) end