summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorAbinoam P. Marques Jr <abinoam@gmail.com>2017-09-24 23:03:21 -0300
committerAbinoam P. Marques Jr <abinoam@gmail.com>2017-09-25 06:51:00 -0300
commit32df1901c7220bf54832fcf14856406beea2fe7e (patch)
tree84c5a4f4c2e59faad6ca83043df015a437ff000e /examples
parent8a8df658f6ef233ff3a75de2f9e989c942cd0c05 (diff)
downloadhighline-32df1901c7220bf54832fcf14856406beea2fe7e.tar.gz
Add meaningful heredoc delimiters
Diffstat (limited to 'examples')
-rw-r--r--examples/page_and_wrap.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/page_and_wrap.rb b/examples/page_and_wrap.rb
index 2dd3c23..d9c0662 100644
--- a/examples/page_and_wrap.rb
+++ b/examples/page_and_wrap.rb
@@ -12,7 +12,7 @@ require "highline/import"
HighLine.default_instance.wrap_at = 80
HighLine.default_instance.page_at = 22
-say(<<END)
+say(<<CONSTITUTION)
THE UNITED STATES CONSTITUTION
We the People of the United States, in Order to form a more perfect Union, establish Justice, insure domestic Tranquility, provide for the common defence, promote the general Welfare, and secure the Blessings of Liberty to ourselves and our Posterity, do ordain and establish this Constitution for the United States of America.
@@ -320,4 +320,4 @@ James Wilson.
Gouv Morris
Attest William Jackson Secretary
-END
+CONSTITUTION