summaryrefslogtreecommitdiffhomepage
path: root/ruby.html.markdown
diff options
context:
space:
mode:
authorSpurlow <Spurlow@users.noreply.github.com>2015-11-02 19:09:45 +0800
committerSpurlow <Spurlow@users.noreply.github.com>2015-11-02 19:09:45 +0800
commit9d72815ea1c2957fa351a10e321468957892e094 (patch)
tree97d78c0acc303a4c8e4600cfb181f5a8de6328bf /ruby.html.markdown
parentc5d7f6e72e8eda544849b933019b3e7e1f802ff2 (diff)
parentd41fdbcba9a8d764ffcd1eaca453c7870567784f (diff)
Merge pull request #1793 from kethomassen/patch-1
Fixed typo in docs
Diffstat (limited to 'ruby.html.markdown')
-rw-r--r--ruby.html.markdown4
1 files changed, 2 insertions, 2 deletions
diff --git a/ruby.html.markdown b/ruby.html.markdown
index 8720fec6..782ffc4c 100644
--- a/ruby.html.markdown
+++ b/ruby.html.markdown
@@ -53,7 +53,7 @@ You shouldn't either
10.* 5 #=> 50
# Special values are objects
-nil # Nothing to see here
+nil # equivalent to null in other languages
true # truth
false # falsehood
@@ -131,7 +131,7 @@ puts "I'm printing!"
# print to the output without a newline
print "I'm printing!"
-#=> I'm printing! => nill
+#=> I'm printing! => nil
# Variables
x = 25 #=> 25