class Benchmark::IPS::Job::Entry
def call_times(times)
-
(Integer)
- Number of times the +@action+ has been called.
Parameters:
-
times
(Integer
) -- Times to call +@action+.
def call_times(times) return @action.call(times) if @call_loop act = @action i = 0 while i < times act.call i += 1 end end