Module: Kernel
- Defined in:
- lib/concerning/kernel_concern.rb
Instance Method Summary collapse
-
#concern(topic, &module_definition) ⇒ Object
A shortcut to define a toplevel concern, not within a module.
Instance Method Details
#concern(topic, &module_definition) ⇒ Object
A shortcut to define a toplevel concern, not within a module.
3 4 5 |
# File 'lib/concerning/kernel_concern.rb', line 3 def concern(topic, &module_definition) ::Object.concern topic, &module_definition end |