Guest User

Untitled

a guest
May 26th, 2018
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  1. attribute_results = []
  2. attribute_names.each do |attribute_name|
  3. attribute_results << attribute_result_list.select{|ae| ae.attribute.to_s == attribute_name}.first
  4. end
  5.  
  6. # which looks quite ugly to me.
Add Comment
Please, Sign In to add comment