Merge pull request #23473 from gsamokovarov/kernel-module-function

Don't publicize Kernel core extensions
This commit is contained in:
Rafael França 2016-02-04 17:15:24 -02:00
commit 3be9a34e78
2 changed files with 4 additions and 0 deletions

View File

@ -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.

View File

@ -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.
#