Sha256: ac7159e8ca27f83cb3aa95b54184b65694510d7a7b96675b8626b8b0c4f75a12

Contents?: true

Size: 360 Bytes

Versions: 13

Compression:

Stored size: 360 Bytes

Contents

require "liquidscript/generator/base/dsl"
require "liquidscript/generator/base/replacements"

module Liquidscript
  module Generator

    class Base

      include Replacements

      def initialize(top)
        @top = top
      end

      def generate
        replace(@top, {}).to_s
      end

      def buffer
        Buffer.new
      end

    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
liquidscript-0.4.1 lib/liquidscript/generator/base.rb
liquidscript-0.4.0 lib/liquidscript/generator/base.rb
liquidscript-0.3.1 lib/liquidscript/generator/base.rb
liquidscript-0.3.0 lib/liquidscript/generator/base.rb
liquidscript-0.2.1 lib/liquidscript/generator/base.rb
liquidscript-0.2.0 lib/liquidscript/generator/base.rb
liquidscript-0.1.5 lib/liquidscript/generator/base.rb
liquidscript-0.1.4 lib/liquidscript/generator/base.rb
liquidscript-0.1.3 lib/liquidscript/generator/base.rb
liquidscript-0.1.2 lib/liquidscript/generator/base.rb
liquidscript-0.1.1 lib/liquidscript/generator/base.rb
liquidscript-0.1.0 lib/liquidscript/generator/base.rb
liquidscript-0.0.1 lib/liquidscript/generator/base.rb