summaryrefslogtreecommitdiff
path: root/ruby_2_2/benchmark/gc/rdoc.rb
diff options
context:
space:
mode:
Diffstat (limited to 'ruby_2_2/benchmark/gc/rdoc.rb')
-rw-r--r--ruby_2_2/benchmark/gc/rdoc.rb13
1 files changed, 0 insertions, 13 deletions
diff --git a/ruby_2_2/benchmark/gc/rdoc.rb b/ruby_2_2/benchmark/gc/rdoc.rb
deleted file mode 100644
index 14c89f5611..0000000000
--- a/ruby_2_2/benchmark/gc/rdoc.rb
+++ /dev/null
@@ -1,13 +0,0 @@
-require 'rdoc/rdoc'
-require 'tmpdir'
-
-srcdir = File.expand_path('../..', __dir__)
-
-Dir.mktmpdir('rdocbench-'){|d|
- dir = File.join(d, 'rdocbench')
- args = %W(--root #{srcdir} --page-dir #{srcdir}/doc --encoding=UTF-8 --no-force-update --all --ri --debug --quiet #{srcdir})
- args << '--op' << dir
-
- r = RDoc::RDoc.new
- r.document args
-}