inject method

S

Shai Rosenfeld

hi guys,

can someone explain (verbosely!) the inject method to me, or point me to
some good reference with some good detailed examples? i find it pretty
attractive and am trying to find excuses to use it somewhere as i heard
it is a very powerful tool

thanks in advance
 
Y

Yusuf Celik

From command prompt if you type
ri Enumerable#inject

will get what you are asking.

Regards
Yusuf Celik
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,264
Messages
2,571,323
Members
48,007
Latest member
Elvis60357

Latest Threads

Top