class BenchmarkToys::Template

Define toys for benchmark

Public Instance Methods

run() click to toggle source
# File lib/benchmark_toys/template.rb, line 16
def run
        require 'example_file'

        ExampleFile.new("#{context_directory}/benchmark/main.example.rb")
                .actualize_regular_file

        sh 'ruby benchmark/main.rb'
end