[ci skip] Fix rdoc formatting
This commit is contained in:
parent
86a9c893ed
commit
888d8c7063
@ -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 <tt>include</tt>, concerns also support <tt>prepend</tt> with a corresponding
|
||||
# <tt>prepended do</tt> callback. <tt>module ClassMethods</tt> or <tt>class_methods do</tt> are
|
||||
# prepended as well.
|
||||
#
|
||||
# `prepend` is also used for any dependencies.
|
||||
# <tt>prepend</tt> is also used for any dependencies.
|
||||
module Concern
|
||||
class MultipleIncludedBlocks < StandardError #:nodoc:
|
||||
def initialize
|
||||
|
@ -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.
|
||||
# <tt>concerning</tt> supports a <tt>prepend: true</tt> argument which will <tt>prepend</tt> the
|
||||
# concern instead of using <tt>include</tt> for it.
|
||||
module Concerning
|
||||
# Define a new concern and mix it in.
|
||||
def concerning(topic, prepend: false, &block)
|
||||
|
Loading…
Reference in New Issue
Block a user