Sha256: ae952cf9c7e136ed453fcdec1f6c4f7f25179cc53586926e1bc345525332aca7

Contents?: true

Size: 271 Bytes

Versions: 11

Compression:

Stored size: 271 Bytes

Contents

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

11 entries across 11 versions & 1 rubygems

Version Path
faml-0.6.0 lib/faml/filter_compilers/plain.rb
faml-0.5.1 lib/faml/filter_compilers/plain.rb
faml-0.5.0 lib/faml/filter_compilers/plain.rb
faml-0.4.2 lib/faml/filter_compilers/plain.rb
faml-0.4.1 lib/faml/filter_compilers/plain.rb
faml-0.4.0 lib/faml/filter_compilers/plain.rb
faml-0.3.6 lib/faml/filter_compilers/plain.rb
faml-0.3.5 lib/faml/filter_compilers/plain.rb
faml-0.3.4 lib/faml/filter_compilers/plain.rb
faml-0.3.3 lib/faml/filter_compilers/plain.rb
faml-0.3.2 lib/faml/filter_compilers/plain.rb