Advertisement
Guest User

Untitled

a guest
Jun 19th, 2017
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.15 KB | None | 0 0
  1. end #data.each do |field|
  2. end #def
  3. end #if 1
  4. medication.sort!{|a,b| b["startdate"] <=> a["startdate"]}
  5. return medication
  6. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement