class Risu::Templates::Template
Public Class Methods
new()
click to toggle source
Initializes the template loading meta data
# File lib/risu/templates/template.rb, line 29 def initialize @template_info = { :name => "template", :author => "hammackj", :version => "0.0.4", :renderer => "PDF", :description => "template" } end
Public Instance Methods
render(output)
click to toggle source
Called during the rendering process
# File lib/risu/templates/template.rb, line 42 def render output text "Template" output.start_new_page end