As methods go, each cons is pretty mysterious. I’m not even sure exactly what you would use it for. However, in the interest of science, here is a brief discussion.
UPDATE
Gregory Brown, who wrote the Prawn PDF library, suggests that:
“In general each_cons is useful when you need a sliding window of size n across a dataset.”
/update
Recent comments
1 year 23 weeks ago
1 year 23 weeks ago
1 year 25 weeks ago
1 year 27 weeks ago
1 year 42 weeks ago
1 year 45 weeks ago
1 year 45 weeks ago
1 year 45 weeks ago
1 year 46 weeks ago
1 year 48 weeks ago