Parent

Methods

Files

Markaby::Template

Public Class Methods

new(template) click to toggle source
# File lib/markaby/template.rb, line 3
def initialize(template)
  @template = template      
end

Public Instance Methods

render(*args) click to toggle source
# File lib/markaby/template.rb, line 6
def render(*args)
  output = Builder.new(*args)
  output.instance_eval @template
  return output.to_s
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.