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 06ac0d5 commit 92cce94Copy full SHA for 92cce94
lib/irb/input-method.rb
@@ -331,6 +331,8 @@ def auto_indent(&block)
331
name = driver.expand_name(name)
332
rescue RDoc::RI::Driver::NotFoundError
333
return nil
334
+ rescue
335
+ return nil # unknown error
336
end
337
doc = nil
338
used_for_class = false
@@ -347,6 +349,8 @@ def auto_indent(&block)
347
349
driver.add_method(doc, name)
348
350
351
352
353
354
355
356
return nil if doc.nil?
0 commit comments