Skip to content

Commit fa2c729

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

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lib/syntax_suggest/core_ext.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,9 +66,13 @@ 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:
75+
7276
module_function
7377

7478
alias_method :syntax_suggest_original_require, :require

0 commit comments

Comments
 (0)