Method: PoolParty::Template.compile_string
- Defined in:
- lib/poolparty/poolparty/template.rb
.compile_string(string, opts = {}) ⇒ Object
7 8 9 10 |
# File 'lib/poolparty/poolparty/template.rb', line 7 def self.compile_string(string, opts={}) vars = OpenStruct.new opts handle_render(string, vars, (opts.delete(:render) || :erb)) end |