diff options
author | Nick LaMuro <nicklamuro@gmail.com> | 2013-08-13 17:42:03 -0500 |
---|---|---|
committer | Nick LaMuro <nicklamuro@gmail.com> | 2013-08-13 17:42:03 -0500 |
commit | ea853dfa674a1be2c6d5e54b1307bf80693cf01d (patch) | |
tree | ab9dd479e1bbd0bbab96aaec5ae31ce06f9a942d /ruby.html.markdown | |
parent | 50e49eced17ee758d47ca06141ee2b0e27ea2ee8 (diff) |
Fixes array typos
Diffstat (limited to 'ruby.html.markdown')
-rw-r--r-- | ruby.html.markdown | 4 |
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 |