Skip to content

Commit 25ca82f

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

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
## HEAD (unreleased)
22

3+
- No longer shows the detail of monkey patch as the document (https://github.com/ruby/syntax_suggest/pull/174)
34
- Drop CI for Ruby 3.2.0-rc1, now that 3.2.0 is available (https://github.com/ruby/syntax_suggest/pull/172)
45

56
## 1.0.2

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)