Help im stuck on using code blocks

WTF I NEED HELP

Exercise:
Currently, the second .each will print out 5 five times (since it will print 5 for each item in the array, and there are five items). Modify the block so it will print each item in the array multiplied by five.

Code

method that capitalizes a word

def capitalize(string)
puts “#{string[0].upcase}#{string[1…-1]}”
end

capitalize(“ryan”) # prints “Ryan”
capitalize(“jane”) # prints “Jane”

block that capitalizes each string in the array

[“ryan”, “jane”].each {|string| puts “#{string[0].upcase}#{string[1…-1]}”} # prints “Ryan”, then “Jane”

Can anyone explain in more detail

page