Highlight here document terms instead of indent

This commit is contained in:
Brian Cain 2019-11-15 10:27:59 -08:00
parent 2adda6861e
commit 28812fb880
No known key found for this signature in database
GPG Key ID: 9FC4639B2E4510A0
1 changed files with 2 additions and 2 deletions

View File

@ -130,9 +130,9 @@ end
```
In the code block above, the script block starts with `<<-SCRIPT` and ends with `SCRIPT`.
This is known as a _Here Document_ or a _heredoc_. Additionally, if your script
This is known as a `Here Document` or a `heredoc`. Additionally, if your script
relies on quotes and you do not wish for Ruby to escape your quotes, you may
want to use this style of _heredoc_ where `SCRIPT` is surrounded in single quotes:
want to use this style of heredoc where `SCRIPT` is surrounded in single quotes:
```ruby
$script = <<-'SCRIPT'