Module: Merb::Template
- Defined in:
- lib/w2tags/merb_hook.rb
Constant Summary collapse
Class Method Summary collapse
Class Method Details
.load_template_io(path) ⇒ Object
8 9 10 11 12 |
# File 'lib/w2tags/merb_hook.rb', line 8 def load_template_io(path) src = path.gsub(/\.erb$/,'.w2erb') W2TAGS.parse_file(src,false,true) File.open(path) end |