Advertisement
Pathfinder

Untitled

May 18th, 2015
293
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Ruby 0.12 KB | None | 0 0
  1. a = []
  2.  
  3. File.readlines('file.txt').each do |line|
  4.   print "#{line}"
  5.   a.push(gets.chomp)
  6.   print "\n"
  7. end
  8. p a
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement