Sha256: a9c84227c1bde25538e22a132cbd442c5175da3ab76ca8533add790d2c41d58c
Contents?: true
Size: 159 Bytes
Versions: 5
Compression:
Stored size: 159 Bytes
Contents
class JsonErb < OpenStruct def self.render_from_hash(t, h) new(h).render(t) end def render(template) ERB.new(template).result(binding) end end
Version data entries
5 entries across 5 versions & 1 rubygems