lib/playlyfe_client/v2/collection.rb in playlyfe_client-1.0.2 vs lib/playlyfe_client/v2/collection.rb in playlyfe_client-1.0.4

- old
+ new

@@ -7,10 +7,14 @@ @items end def add(item) @items << item - end + end + + def each &block + @items.each &block + end def find(str) (@items.detect {|item| item.id.include?(str)}) end