Project

General

Profile

Actions

Bug #14032

closed

squiggly heredoc with an interpolation at the beginning is unindented wrongly

Added by nobu (Nobuyoshi Nakada) over 6 years ago. Updated about 6 years ago.

Status:
Closed
Target version:
-
ruby -v:
2.5.0 dev
[ruby-core:83368]

Description

This result should be prefixed with spaces, not unindented.

p <<~E
  a
#{1}
E
Actions

Also available in: Atom PDF

Like0
Like0Like0