mirror of https://github.com/rails/rails
Merge pull request #23473 from gsamokovarov/kernel-module-function
Don't publicize Kernel core extensions
This commit is contained in:
commit
3be9a34e78
|
@ -1,6 +1,8 @@
|
|||
require 'active_support/core_ext/module/concerning'
|
||||
|
||||
module Kernel
|
||||
module_function
|
||||
|
||||
# A shortcut to define a toplevel concern, not within a module.
|
||||
#
|
||||
# See Module::Concerning for more.
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
module Kernel
|
||||
module_function
|
||||
|
||||
# Sets $VERBOSE to nil for the duration of the block and back to its original
|
||||
# value afterwards.
|
||||
#
|
||||
|
|
Loading…
Reference in New Issue