You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
and Lazy docs says nothing about behaving differently.
and i can be hallucinating, but i remember seeing different things about #map and #collect on this page, saying that #map would return enumerator and #collect would return array.
<3
The text was updated successfully, but these errors were encountered:
This says that
#map
returns an_enumerator and a new array:http://ruby-doc.org/core-2.4.0/Enumerable.html#method-i-map
irb says:
and
Lazy
docs says nothing about behaving differently.and i can be hallucinating, but i remember seeing different things about
#map
and#collect
on this page, saying that#map
would return enumerator and#collect
would return array.<3
The text was updated successfully, but these errors were encountered: