Use for Enumerable#inject


/ Published in: Ruby
Save to your folder(s)

Need a way to count the number of non empty strings in an array?

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.