From bb8c0cf3c9cb6c0f637cb754bd52be77d2dac2e0 Mon Sep 17 00:00:00 2001 From: hsbt Date: Sat, 5 Nov 2016 09:18:10 +0000 Subject: * lib/rdoc/*, test/rdoc/*: Update rdoc-5.0.0 Release note: https://github.com/rdoc/rdoc/blob/b825775647f62c5b525e9780a28ff2fbb1d5bf6f/History.rdoc#500--2016-11-05 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56586 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- lib/rdoc/ri/driver.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/rdoc/ri') diff --git a/lib/rdoc/ri/driver.rb b/lib/rdoc/ri/driver.rb index 7942406ceb..23d24e9a20 100644 --- a/lib/rdoc/ri/driver.rb +++ b/lib/rdoc/ri/driver.rb @@ -1428,7 +1428,7 @@ The ri pager can be set with the 'RI_PAGER' environment variable or the def setup_pager return if @use_stdout - jruby = Object.const_defined?(:RUBY_ENGINE) && RUBY_ENGINE == 'jruby' + jruby = RUBY_ENGINE == 'jruby' pagers = [ENV['RI_PAGER'], ENV['PAGER'], 'pager', 'less', 'more'] -- cgit v1.2.3