summaryrefslogtreecommitdiffhomepage
path: root/ruby.html.markdown
diff options
context:
space:
mode:
authorNick LaMuro <nicklamuro@gmail.com>2013-08-13 17:42:03 -0500
committerNick LaMuro <nicklamuro@gmail.com>2013-08-13 17:42:03 -0500
commitea853dfa674a1be2c6d5e54b1307bf80693cf01d (patch)
treeab9dd479e1bbd0bbab96aaec5ae31ce06f9a942d /ruby.html.markdown
parent50e49eced17ee758d47ca06141ee2b0e27ea2ee8 (diff)
Fixes array typos
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 68c5b524..46bfbb7c 100644
--- a/ruby.html.markdown
+++ b/ruby.html.markdown
@@ -117,11 +117,11 @@ status == :approved #=> false
# Arrays
# This is an array
-[1, 2, 3, 4, 5] #=> [1, 2, 3, 4, 5]
+array = [1, 2, 3, 4, 5] #=> [1, 2, 3, 4, 5]
# Arrays can contain different types of items
-array = [1, "hello", false] #=> => [1, "hello", false]
+[1, "hello", false] #=> [1, "hello", false]
# Arrays can be indexed
# From the front