instance method
initialize_copy
Ruby on Rails 8.1.2
Since v7.1.6Signature
initialize_copy(other)
No documentation comment.
Parameters
-
otherreq
Source
# File activesupport/lib/active_support/broadcast_logger.rb, line 194
def initialize_copy(other)
@broadcasts = []
@progname = other.progname.dup
broadcast_to(*other.broadcasts.map(&:dup))
end
Defined in activesupport/lib/active_support/broadcast_logger.rb line 194
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveSupport::BroadcastLogger