mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
mark ReversibleBlockHelper as :nodoc: [ci skip]
This commit is contained in:
parent
f8dbe4c7cc
commit
1df502e000
1 changed files with 1 additions and 1 deletions
|
@ -466,7 +466,7 @@ module ActiveRecord
|
|||
@connection.respond_to?(:reverting) && @connection.reverting
|
||||
end
|
||||
|
||||
class ReversibleBlockHelper < Struct.new(:reverting)
|
||||
class ReversibleBlockHelper < Struct.new(:reverting) # :nodoc:
|
||||
def up
|
||||
yield unless reverting
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue