class DocumentGenerator::Output

Attributes

content[RW]
description[RW]

Public Instance Methods

escaped_content() click to toggle source
# File lib/document_generator/output.rb, line 5
def escaped_content
  temp = []
  content.each do |line|
    temp << line
    temp << "\n"
  end

  temp.join.rstrip
end