class Benchmark::IPS::Job::Entry

def compile_block_with_manual_loop

def compile_block_with_manual_loop
  m = (class << self; self; end)
  code = <<-CODE
    def call_times(times)
      @action.call(times)
    end
  CODE
  m.class_eval code
end