Sha256: 1c662e401415e03feb9ccd1049c06d0fc3182f552e1c437c6b9de6f521207778

Contents?: true

Size: 270 Bytes

Versions: 7

Compression:

Stored size: 270 Bytes

Contents

require 'faml/filter_compilers/base'

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

    register(:plain, Plain)
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
faml-0.2.6 lib/faml/filter_compilers/plain.rb
faml-0.2.5 lib/faml/filter_compilers/plain.rb
faml-0.2.4 lib/faml/filter_compilers/plain.rb
faml-0.2.3 lib/faml/filter_compilers/plain.rb
faml-0.2.2 lib/faml/filter_compilers/plain.rb
faml-0.2.1 lib/faml/filter_compilers/plain.rb
faml-0.2.0 lib/faml/filter_compilers/plain.rb