module Kernel

Public Instance Methods

concern(topic, &module_definition) click to toggle source

A shortcut to define a toplevel concern, not within a module.

# File lib/concerning/kernel_concern.rb, line 3
def concern(topic, &module_definition)
  ::Object.concern topic, &module_definition
end