Binding to the Nagoro templating engine.
To pipe your template through tidy you have to use:
Ramaze::View::Nagoro.options.tidy = true
# File lib/ramaze/view/nagoro.rb, line 27 27: def self.call(action, string) 28: default_options = { 29: :pipes => options.pipes, 30: :filename => action.view, 31: :binding => action.binding, 32: :variables => action.variables 33: } 34: 35: render_options = default_options.merge(action.options) 36: 37: if options.tidy 38: html = ::Nagoro.tidy_render(string.to_s, render_options) 39: else 40: html = ::Nagoro.render(string.to_s, render_options) 41: end 42: 43: return html, 'text/html' 44: end
Disabled; run with --debug to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.