Sha256: 836c76b460b1f65ae6a01c80366fab7f05ef67dd19bc32c82d39d14b2e4e0576

Contents?: true

Size: 284 Bytes

Versions: 12

Compression:

Stored size: 284 Bytes

Contents

require 'faml/filter_compilers/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

12 entries across 12 versions & 1 rubygems

Version Path
faml-0.3.1 lib/faml/filter_compilers/plain.rb
faml-0.3.0 lib/faml/filter_compilers/plain.rb
faml-0.2.16 lib/faml/filter_compilers/plain.rb
faml-0.2.15 lib/faml/filter_compilers/plain.rb
faml-0.2.14 lib/faml/filter_compilers/plain.rb
faml-0.2.13 lib/faml/filter_compilers/plain.rb
faml-0.2.12 lib/faml/filter_compilers/plain.rb
faml-0.2.11 lib/faml/filter_compilers/plain.rb
faml-0.2.10 lib/faml/filter_compilers/plain.rb
faml-0.2.9 lib/faml/filter_compilers/plain.rb
faml-0.2.8 lib/faml/filter_compilers/plain.rb
faml-0.2.7 lib/faml/filter_compilers/plain.rb