Sha256: ad6ccaab79e0a807c82ae6caec756c64d00df5e999fa012aef8db28ec5832414
Contents?: true
Size: 306 Bytes
Versions: 7
Compression:
Stored size: 306 Bytes
Contents
require 'faml/filter_compilers/base' module Faml module FilterCompilers class Ruby < Base def need_newline? false end def compile(texts) [:multi, [:newline], [:code, strip_last_empty_lines(texts).join("\n")]] end end register(:ruby, Ruby) end end
Version data entries
7 entries across 7 versions & 1 rubygems