Implementing a Ruby HereDoc approach