Class: Pslm::LatexOutputter::FinalAddContentFormatter

Inherits:
Formatter
  • Object
show all
Defined in:
lib/pslm/latexoutputter.rb

Overview

appends arbitrary text to the final output

Instance Method Summary collapse

Methods inherited from Formatter

format, #initialize, #part_format, #strophe_format, #syllable_format, #verse_format, #word_format

Constructor Details

This class inherits a constructor from Pslm::LatexOutputter::Formatter

Instance Method Details

#psalm_format(text, psalm) ⇒ Object



439
440
441
442
443
444
445
446
# File 'lib/pslm/latexoutputter.rb', line 439

def psalm_format(text, psalm)
  super(text, psalm)
  if @options[:append] then
    return text + "\n" + @options[:append]
  else
    return text
  end
end