# frozen-string-literal: true require_relative 'base' module Faml module FilterCompilers class Ruby < Base def need_newline? false end def compile(ast) [:multi, [:newline], [:code, strip_last_empty_lines(ast.texts).join("\n")]] end end register(:ruby, Ruby) end end