Multiline strings in Ruby 2.3 - The Squiggly Heredoc
Ruby finally has an acceptable way of writing multiline strings - no more messy gsubing, bad indentation or monkeypatches - meet the Squiggly Heredoc!
Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!
Ruby finally has an acceptable way of writing multiline strings - no more messy gsubing, bad indentation or monkeypatches - meet the Squiggly Heredoc!
Post a comment