0
kicks
Extension Method to Imitate Times() in Ruby
The title says it all. This extension method allows you to pass an action to int.times and have the action executed than number of times. Ruby is really cool and extension methods are also really cool. Using extension methods to imitate the flexibility and fluency of ruby can make life so much easier.