Skip to content
This repository
Fetching contributors…

Cannot retrieve contributors at this time

file 6 lines (5 sloc) 0.274 kb
1 2 3 4 5 6
require "benchmark"
require File.join(File.dirname(__FILE__), '..', 'lib', 'yard')

YARD::Registry.load_yardoc(File.join(File.dirname(__FILE__), '..', '.yardoc'))
obj = YARD::Registry.at("YARD::CodeObjects::Base")
log.puts Benchmark.measure { obj.format(:format => :html) }
Something went wrong with that request. Please try again.