Advertisement
Hiteshw11

For Loop in Ruby

Sep 26th, 2018
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Ruby 0.07 KB | None | 0 0
  1.  names =["John","Mike","Phil","Brock"]
  2.  for i in names
  3.   puts i
  4.  end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement