class Fiesta::Template

Public Instance Methods

render() click to toggle source
# File lib/fiesta/template.rb, line 9
def render
  ERB.new(File.read(erb), nil, "-").result(binding)
end

Private Instance Methods

erb() click to toggle source
# File lib/fiesta/template.rb, line 15
def erb
  File.join(File.expand_path("../templates", __FILE__), "draft.erb")
end