instance method
concerning
Ruby on Rails 4.2.11.3
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 110
def concerning(topic, &block)
include concern(topic, &block)
end
Defined in activesupport/lib/active_support/core_ext/module/concerning.rb line 110
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in Module::Concerning