hanklords / flickraw

Ruby library to access flickr api.
http://hanklords.github.com/flickraw/
MIT License
507 stars 98 forks source link

implement ResponseList#map! #99

Closed mendab1e closed 7 years ago

mendab1e commented 7 years ago

Hello. During the usage of flickraw in my project I found that ResponseList doesn't support map!:

NoMethodError: undefined method `map!' for #<FlickRaw::ResponseList:0x007fe817e772d0>

Enumerable only includes map without bang, so I decided to implement ResponseList#map! in this PR to give it more array-like behaviour.