Class: Pslm::LatexOutputter::WrapperFormatter
- Defined in:
- lib/pslm/latexoutputter.rb
Overview
wraps the whole psalm in a LaTeX environment
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
287 288 289 |
# File 'lib/pslm/latexoutputter.rb', line 287 def psalm_format(text, psalm) "\\begin{#{@options[:environment_name]}}\n" + text + "\n\\end{#{@options[:environment_name]}}\n" end |