summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorKristian <kethomassen@gmail.com>2015-10-26 17:56:28 +1000
committerKristian <kethomassen@gmail.com>2015-10-26 17:56:28 +1000
commitd41fdbcba9a8d764ffcd1eaca453c7870567784f (patch)
treef782819476ba6679c66f5229c3f4fd2aa5680566
parent44ca091c73afe13ec8760021cfed1d77afc5e4a5 (diff)
Fixed typo in docs
+ Added a better description for 'nil'
-rw-r--r--ruby.html.markdown4
1 files changed, 2 insertions, 2 deletions
diff --git a/ruby.html.markdown b/ruby.html.markdown
index 998b4bf7..a3fc859e 100644
--- a/ruby.html.markdown
+++ b/ruby.html.markdown
@@ -49,7 +49,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
@@ -122,7 +122,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