Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
## HEAD (unreleased)

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

## 1.0.2
Expand Down
4 changes: 4 additions & 0 deletions lib/syntax_suggest/core_ext.rb
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,13 @@ def detailed_message(highlight: true, syntax_suggest: true, **kwargs)
else
autoload :Pathname, "pathname"

#--
# Monkey patch kernel to ensure that all `require` calls call the same
# method
#++
module Kernel
# :stopdoc:

module_function

alias_method :syntax_suggest_original_require, :require
Expand Down