Parent

Methods

Class Index [+]

Quicksearch

Tenjin::Template

Public Instance Methods

ramaze_render(binding) click to toggle source

This method allows us to use tenjin with a binding, so helper methods are available instead of only instance variables. The big issue with this approach is that the original Tenjin::ContextHelper is not available here. Patches welcome.

    # File lib/ramaze/view/tenjin.rb, line 29
29:     def ramaze_render(binding)
30:       code = "_buf = #{init_buf_expr}; #{@script}; _buf.to_s"
31:       _buf = eval(code, binding, @filename || '(tenjin)')
32:     end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.