Sha256: 41ae417f9314d0f9747252eb1183ac15b00551bdc6e6adab22ab917c249abfe3

Contents?: true

Size: 224 Bytes

Versions: 1

Compression:

Stored size: 224 Bytes

Contents

class Luneta::Template 

  @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/template.rb