method

concern

Importance_1
v5.1.7 - 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.