Complete the code to create a multiline string using heredoc syntax.
text = <<[1] This is a multiline string. It spans multiple lines. [1]
The heredoc delimiter should be an unquoted identifier like END to start and end the multiline string.
Complete the code to create a heredoc string that preserves indentation.
text = <<~[1] Line one Line two [1]
The <<~END syntax allows indentation to be stripped from the heredoc content.
Fix the error in the heredoc syntax to correctly assign a multiline string.
message = <<[1] Hello, This is a test. [1]
The delimiter must be an unquoted identifier and match exactly at start and end.
Fill both blanks to create a heredoc string with interpolation enabled.
name = "Alice" text = <<[1] Hello, #{name}! [2]
Using an unquoted delimiter like END enables string interpolation inside the heredoc.
Fill all three blanks to create a heredoc string that disables interpolation and preserves indentation.
name = "Bob" text = <<~[1][2] Hello, #{name}! Indented line. [3]
Using <<~'END' disables interpolation (due to single quotes) and strips indentation (due to ~).