Sha256: dc97205f552d40061e9425f99b61d3e71b94d34aed6cdb9c3b9089e14db70a9c

Contents?: true

Size: 294 Bytes

Versions: 1

Compression:

Stored size: 294 Bytes

Contents

module Liquidscript
  class Template

    def initialize(data)
      @data = data
    end

    def render
      @_render ||= begin
        compiler = Compiler::ICR.new(Scanner.new(@data))
        compiler.compile
        Generator::Javascript.new(compiler).generate
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
liquidscript-0.0.1 lib/liquidscript/template.rb