11 Mar '12, 11pm

Enumerable#collect - Video Explnation of the collect method #ruby

Register or log in to add new notes. MattStopa - March 11, 2012 0 thanks Video Explnation of the collect method http://www.youtube.com/watch?v=nn-urr9l7tc noniq - March 18, 2010 - (v1_8_6_287 - v1_8_7_72) 0 thanks collect_with_index Use Object#enum_for if you need to collect with index: require ' enumerator ' %w{ foo bar }. enum_for ( :each_with_index ). collect do | item , index | " #{index} : #{item} " end See also: Enumerable#each_with_index

Full article: http://apidock.com/ruby/Enumerable/collect#1252-Video-Exp...

Tweets

Enumerable#find_all - Video Explanation of find...

apidock.com 11 Mar '12, 11pm

Returns an array containing all elements of enum for which block is not false (see also Enumerable#reject).

Enumerable#find - Video Explanation of find and...

apidock.com 11 Mar '12, 11pm

Register or log in to add new notes. MattStopa - March 11, 2012 0 thanks Video Explanation of find and find_all http://www...

Object#tap - Video Explanation of the tap metho...

apidock.com 11 Mar '12, 11pm

Yields x to the block, and then returns x. The primary purpose of this method is to “tap into” a method chain, in order to...

I love Ruby because

rubyflow.com 12 Mar '12, 8pm

I love Ruby because ... Posted by rtdp on March 12, 2012 — 0 comments I really love ruby language, and so do many folks us...