Module: Innate::View::Etanni
- Defined in:
- lib/innate/view/etanni.rb
Class Method Summary collapse
Class Method Details
.call(action, string) ⇒ Object
4 5 6 7 8 |
# File 'lib/innate/view/etanni.rb', line 4 def self.call(action, string) etanni = View.compile(string){|s| Innate::Etanni.new(s) } html = etanni.result(action.binding, (action.view || action.method)) return html, 'text/html' end |