Sha256: 4c4c56a3aa8a808aa41209c4948afa3e1c43e977107dbf121a44497cc0053faf
Contents?: true
Size: 160 Bytes
Versions: 1
Compression:
Stored size: 160 Bytes
Contents
require 'erb' require 'ostruct' module Ryonan class Renderer < OpenStruct def render(template) ERB.new(template).result(binding) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ryonan-0.0.3 | lib/ryonan/renderer.rb |