14 lines
358 B
Plaintext
14 lines
358 B
Plaintext
{2}# heredoc method call, other argument{0}
|
|
{11}puts{0} {10}<<{20}~EOT{10}.{11}chomp{21}
|
|
squiggly heredoc
|
|
{20}EOT{0}
|
|
|
|
{11}puts{0} {10}<<{20}ONE{10},{0} {5}__FILE__{10},{0} {5}__LINE__{21}
|
|
content for heredoc one
|
|
{20}ONE{0}
|
|
|
|
{2}# heredoc prevStyle == SCE_RB_GLOBAL{0}
|
|
{13}$stdout{10}.{11}puts{0} {10}<<{20}~EOT{10}.{11}chomp{21}
|
|
squiggly heredoc
|
|
{20}EOT{0}
|