method
initialize_copy
v7.1.3.2 -
Show latest stable
- Class:
ActiveSupport::BroadcastLogger
initialize_copy(other)public
No documentation available.
# File activesupport/lib/active_support/broadcast_logger.rb, line 221
def initialize_copy(other)
@broadcasts = []
@progname = other.progname.dup
@formatter = other.formatter.dup
broadcast_to(*other.broadcasts.map(&:dup))
end