Sha256: e18eb2c4ca03d6b35d0496d1c8dae2c93728de14d1806ef98b770adf3f5f7ce1
Contents?: true
Size: 222 Bytes
Versions: 1
Compression:
Stored size: 222 Bytes
Contents
class Luneta::Layout @template = nil def initialize(file, options = {}) @template = Tilt.new(file) end def render(scope=Object.new, locals={}, &block) @template.render(scope, locals, &block) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
luneta-0.0.3 | lib/luneta/layout.rb |