We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e0de4cf commit 9b98d1aCopy full SHA for 9b98d1a
lib/irb/cmd/help.rb
@@ -17,7 +17,8 @@ module ExtendCommand
17
class Help < Nop
18
def execute(*names)
19
require 'rdoc/ri/driver'
20
- IRB::ExtendCommand::Help.const_set(:Ri, RDoc::RI::Driver.new)
+ opts = RDoc::RI::Driver.process_args([])
21
+ IRB::ExtendCommand::Help.const_set(:Ri, RDoc::RI::Driver.new(opts))
22
rescue LoadError, SystemExit
23
IRB::ExtendCommand::Help.remove_method(:execute)
24
# raise NoMethodError in ensure
0 commit comments