Sha256: a36a6339c63ee49077522cb6a2c757926312c04fe9ba738b5a6f26d4765312cf

Contents?: true

Size: 301 Bytes

Versions: 2

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

2 entries across 2 versions & 1 rubygems

Version Path
faml-0.8.1 lib/faml/filter_compilers/plain.rb
faml-0.8.0 lib/faml/filter_compilers/plain.rb