summaryrefslogtreecommitdiff
path: root/sample/trick2013
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2019-12-20 09:19:39 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2019-12-20 09:32:42 +0900
commitdb166290088fb7d39d01f68b9860253893d4f1a7 (patch)
tree68c1b2c3e7ff00ed5cd6a214e6644a28dca22261 /sample/trick2013
parent2898367b3a1de00ca78067cc17dd4d1f8df37778 (diff)
Fixed misspellings
Fixed misspellings reported at [Bug #16437], only in ruby and rubyspec.
Diffstat (limited to 'sample/trick2013')
-rw-r--r--sample/trick2013/kinaba/remarks.markdown2
1 files changed, 1 insertions, 1 deletions
diff --git a/sample/trick2013/kinaba/remarks.markdown b/sample/trick2013/kinaba/remarks.markdown
index 73a4ea9875..dcdce7e9ae 100644
--- a/sample/trick2013/kinaba/remarks.markdown
+++ b/sample/trick2013/kinaba/remarks.markdown
@@ -20,7 +20,7 @@ The algorithm is the obvious loop "32.upto(126){|x| putc x}".
It is not so hard to transform it to use each character *at most once*. The only slight difficulty comes from the constraint that we cannot "declare and then use" variables, because then the code will contain the variable name twice. This restriction is worked around by the $. global variable, the best friend of Ruby golfers.
-The relatively interesting part is to use all the charcters *at least once*. Of course, this is easily accomplished by putting everything into a comment (i.e., #unused...) or to a string literal (%(unused...), note that normal string literals are forbidden since they use quotation marks twice). Hey, but that's not fun at all! I tried to minimize the escapeway.
+The relatively interesting part is to use all the characters *at least once*. Of course, this is easily accomplished by putting everything into a comment (i.e., #unused...) or to a string literal (%(unused...), note that normal string literals are forbidden since they use quotation marks twice). Hey, but that's not fun at all! I tried to minimize the escapeway.
* "@THEqQUICKbBROWNfFXjJMPSvVLAZYDGgkyz". Trash box of unused alphabet. I wish I could have used "gkyz" somewhere else.