module Rcurse

Public Class Methods

add_helper(helper) click to toggle source
# File lib/rcurse/helper.rb, line 4
def self.add_helper helper
    @helpers[helper.name] = helper
end
helpers() click to toggle source
# File lib/rcurse/helper.rb, line 8
def self.helpers
    @helpers
end
render(content, context = Context.new) click to toggle source
# File lib/rcurse/engine.rb, line 36
def self.render content, context = Context.new
    Rcurse::Engine.render content, context
end
render_file(filename, out_filename, context = Context.new) click to toggle source
# File lib/rcurse/engine.rb, line 40
def self.render_file filename, out_filename, context = Context.new
    Rcurse::Engine.render_file filename, out_filename, context
end