summaryrefslogtreecommitdiffhomepage
path: root/ruby.html.markdown
diff options
context:
space:
mode:
authorRyan Plant <ryan@ryanplant.net>2016-01-26 11:44:47 +1100
committerRyan Plant <ryan@ryanplant.net>2016-01-26 11:44:47 +1100
commit82cb669cd77e0b394be0161ea8c688aa78f955d6 (patch)
tree06a96151210c83a21bb3470d75aaaa65c4879aed /ruby.html.markdown
parent928edf12092cea82a9eded6848b8d0b0710a977c (diff)
Fix typo
Diffstat (limited to 'ruby.html.markdown')
-rw-r--r--ruby.html.markdown2
1 files changed, 1 insertions, 1 deletions
diff --git a/ruby.html.markdown b/ruby.html.markdown
index 3eed2d3c..24dd788a 100644
--- a/ruby.html.markdown
+++ b/ruby.html.markdown
@@ -285,7 +285,7 @@ hash.each do |key, value|
puts "#{key} is #{value}"
end
-# If you still need and index you can use "each_with_index" and define an index
+# If you still need an index you can use "each_with_index" and define an index
# variable
array.each_with_index do |element, index|
puts "#{element} is number #{index} in the array"