blob: bf72caa058eccd5d1bf2568e16e550b1076ee15d (
plain) (
tree)
|
|
require 'active_support/core_ext/module/concerning'
module Kernel
# 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
|