Advertisement
Guest User

Untitled

a guest
Apr 25th, 2019
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Ruby 0.28 KB | None | 0 0
  1. def deli_line(line)
  2.    line_array = []
  3.    if(line.empty)
  4.       put line is currently empty
  5.    else
  6.       Loop through line_array to build order of line with       person's name. Look at using a .each method and .push method
  7.   end
  8.   put the line is: line_array.join("")
  9. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement