I came across this method but I can't read the bit (&:genre). So basically I don't know what it means.
def genres
songs.map(&:genre)
end
thanks
I came across this method but I can't read the bit (&:genre). So basically I don't know what it means.
def genres
songs.map(&:genre)
end
thanks