Skip to content

Commit f3fc3cb

Browse files
committed
Hide internal document and detail of Kernel monkey patching
https://bugs.ruby-lang.org/issues/19285
1 parent 3afeda8 commit f3fc3cb

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/syntax_suggest/core_ext.rb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,9 +66,12 @@ def detailed_message(highlight: true, syntax_suggest: true, **kwargs)
6666
else
6767
autoload :Pathname, "pathname"
6868

69+
#--
6970
# Monkey patch kernel to ensure that all `require` calls call the same
7071
# method
72+
#++
7173
module Kernel
74+
# :stopdoc:
7275
module_function
7376

7477
alias_method :syntax_suggest_original_require, :require

0 commit comments

Comments
 (0)