diff --git a/activesupport/lib/active_support/concern.rb b/activesupport/lib/active_support/concern.rb index e15d9ced34..e88862bfb4 100644 --- a/activesupport/lib/active_support/concern.rb +++ b/activesupport/lib/active_support/concern.rb @@ -102,11 +102,11 @@ module ActiveSupport # # === Prepending concerns # - # Just like `include`, concerns also support `prepend` with a corresponding - # `prepended do` callback. `module ClassMethods` or `class_methods do` are + # Just like include, concerns also support prepend with a corresponding + # prepended do callback. module ClassMethods or class_methods do are # prepended as well. # - # `prepend` is also used for any dependencies. + # prepend is also used for any dependencies. module Concern class MultipleIncludedBlocks < StandardError #:nodoc: def initialize diff --git a/activesupport/lib/active_support/core_ext/module/concerning.rb b/activesupport/lib/active_support/core_ext/module/concerning.rb index fadc936692..36f5f85937 100644 --- a/activesupport/lib/active_support/core_ext/module/concerning.rb +++ b/activesupport/lib/active_support/core_ext/module/concerning.rb @@ -105,10 +105,10 @@ class Module # * clean up monolithic junk-drawer classes by separating their concerns, and # * stop leaning on protected/private for crude "this is internal stuff" modularity. # - # === Prepending `concerning` + # === Prepending concerning # - # `concerning` supports a `prepend: true` argument which will `prepend` the - # concern instead of using `include` for it. + # concerning supports a prepend: true argument which will prepend the + # concern instead of using include for it. module Concerning # Define a new concern and mix it in. def concerning(topic, prepend: false, &block)