I have a sample code:
def print_stuff(first_num, second_num) puts \'hello\' (first_num..second_num).to_a.each do |num| puts \'The current numb