Advertisement
Guest User

Untitled

a guest
Jun 20th, 2019
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. while counter >= 1
  2. high_temp = method_that_gets_high_temperature
  3. counter = counter - 1
  4.  
  5. CSV.open("summer_temp.csv", "w") do |row|
  6. row << [month, day, year, high_temp]
  7. end
  8.  
  9. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement