blob: c200a78d3623f0029321f319ee0590e3384d025a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
|
require 'active_support/core_ext/module/concerning'
module Kernel
# A shortcut to define a toplevel concern, not within a module.
#
# See ActiveSupport::CoreExt::Module::Concerning for more.
def concern(topic, &module_definition)
Object.concern topic, &module_definition
end
end
|