blob: 307a7f7a63dd8a926477dca134fedd06519a31a9 (
plain) (
tree)
|
|
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.
def concern(topic, &module_definition)
Object.concern topic, &module_definition
end
end
|