Fixed typo in docs

+ Added a better description for 'nil'
This commit is contained in:
Kristian 2015-10-26 17:56:28 +10:00
parent 44ca091c73
commit d41fdbcba9

View File

@ -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