Advertisement
Guest User

Untitled

a guest
Aug 27th, 2016
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.14 KB | None | 0 0
  1. foo = ["1","2","3","4"]
  2.  
  3. foo = [ 1 , 2 , 3 , 4 ]
  4.  
  5. foo = ["1","2","3","4"]
  6. i = 0
  7. while i <= 3
  8. foo[i] = foo[i].to_i
  9.   i += 1
  10. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement