method

concern

Importance_1
v4.2.9 - Show latest stable - 0 notes - Class: Concerning
concern(topic, &module_definition) public

A low-cruft shortcut to define a concern.

concern :EventTracking do
  ...
end

is equivalent to

module EventTracking
  extend ActiveSupport::Concern

  ...
end
Show source
Register or log in to add new notes.