On 24 Jul 2010, at 16:27, Ashley Moran wrote: > I guess what I want is #inject_with_index...
So write it? :) http://gist.github.com/488777 Second one handles being included in objects that aren't arrays (or respond to :index) and counts it manually for you. C --- Caius Durling [email protected] +44 (0) 7960 268 100 http://caius.name/ -- You received this message because you are subscribed to the Google Groups "NWRUG" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/nwrug-members?hl=en.
