some utility methods
# File lib/railsbench/perf_utils.rb, line 4 def index_map res = {} each_with_index{|element, index| res[index] = element} res end
# File lib/railsbench/perf_utils.rb, line 10 def restrict_to(index_set) res = [] each_with_index{|e,i| res << e if index_set.include?(i)} res end
Generated with the Darkfish Rdoc Generator 2.