Ruby ‘here document’
Ruby has a cool feature that allows you to embed a document inside your source code. This is known as a ‘here document’. The traditional way of defining a string is to assign a variable as follows: def myfunc mystring = “Here’s a great quote: \n\n\”We hold these truths to be self-evident, that all men [...]