Method: PoolParty::Template.compile_file
- Defined in:
- lib/poolparty/poolparty/template.rb
.compile_file(file, opts = {}) ⇒ Object
12 13 14 15 |
# File 'lib/poolparty/poolparty/template.rb', line 12 def self.compile_file(file, opts={}) content = open(file).read compile_string(content, opts) end |