Sha256: c1758db8660264792d6206ccf983069552c58104ffbee1fbf044e1b764a267d5

Contents?: true

Size: 301 Bytes

Versions: 9

Compression:

Stored size: 301 Bytes

Contents

# frozen-string-literal: true
require_relative 'base'

module Faml
  module FilterCompilers
    class Plain < Base
      def compile(ast)
        temple = [:multi, [:newline]]
        compile_texts(temple, ast.lineno, ast.texts)
        temple
      end
    end

    register(:plain, Plain)
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
faml-0.7.3 lib/faml/filter_compilers/plain.rb
faml-0.7.2 lib/faml/filter_compilers/plain.rb
faml-0.7.1 lib/faml/filter_compilers/plain.rb
faml-0.7.0 lib/faml/filter_compilers/plain.rb
faml-0.6.5 lib/faml/filter_compilers/plain.rb
faml-0.6.4 lib/faml/filter_compilers/plain.rb
faml-0.6.3 lib/faml/filter_compilers/plain.rb
faml-0.6.2 lib/faml/filter_compilers/plain.rb
faml-0.6.1 lib/faml/filter_compilers/plain.rb