Sha256: 2e9f3a4af0d4a0b16a167fd90722a6f526c15c1e5d00e24f707d8a2c6a23592a

Contents?: true

Size: 356 Bytes

Versions: 34

Compression:

Stored size: 356 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

34 entries across 34 versions & 1 rubygems

Version Path
liquidscript-0.11.0 lib/liquidscript/generator/base.rb
liquidscript-0.11.0.rc1 lib/liquidscript/generator/base.rb
liquidscript-0.10.4 lib/liquidscript/generator/base.rb
liquidscript-0.10.3 lib/liquidscript/generator/base.rb
liquidscript-0.10.2 lib/liquidscript/generator/base.rb
liquidscript-0.10.1 lib/liquidscript/generator/base.rb
liquidscript-0.10.0 lib/liquidscript/generator/base.rb
liquidscript-0.9.2 lib/liquidscript/generator/base.rb
liquidscript-0.9.1 lib/liquidscript/generator/base.rb
liquidscript-0.9.0 lib/liquidscript/generator/base.rb
liquidscript-0.8.2 lib/liquidscript/generator/base.rb
liquidscript-0.8.1 lib/liquidscript/generator/base.rb
liquidscript-0.8.0 lib/liquidscript/generator/base.rb
liquidscript-0.7.12 lib/liquidscript/generator/base.rb
liquidscript-0.7.11 lib/liquidscript/generator/base.rb
liquidscript-0.7.10 lib/liquidscript/generator/base.rb
liquidscript-0.7.9 lib/liquidscript/generator/base.rb
liquidscript-0.7.8 lib/liquidscript/generator/base.rb
liquidscript-0.7.7 lib/liquidscript/generator/base.rb
liquidscript-0.7.6 lib/liquidscript/generator/base.rb