Sha256: f1b1c0a18aca9487298bc35d3b947fb0297d27db9c2df79f4c5b9e555bad9f86

Contents?: true

Size: 279 Bytes

Versions: 3

Compression:

Stored size: 279 Bytes

Contents

# encoding: utf-8

# http://github.com/somebee/rbench/tree/master
class Benchmark < Thor
  def initialize
    require "rbench"
  end

  desc "all", "Run all benchmarks"
  def all
    Dir["#{Dir.pwd}/benchmarks/bm/*.rb"].each do |benchmark|
      load benchmark
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rango-0.0.6 tasks/benchmark.thor
rango-0.1.pre tasks/benchmark.thor
rango-0.0.4 tasks/benchmark.thor