instance method
concerning
Ruby on Rails 6.0.6
Since v4.1.16Signature
concerning(topic, &block)
Define a new concern and mix it in.
Parameters
-
topicreq -
blockblock
Source
# File activesupport/lib/active_support/core_ext/module/concerning.rb, line 109
def concerning(topic, &block)
include concern(topic, &block)
end
Defined in activesupport/lib/active_support/core_ext/module/concerning.rb line 109
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in Module::Concerning