instance method initialize_copy

Ruby on Rails 7.1.6

Since v7.1.6

Available in: v7.1.6 v7.2.3 v8.0.4 v8.1.2

Signature

initialize_copy(other)

No documentation comment.

Parameters

other req
Source
# 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

Defined in activesupport/lib/active_support/broadcast_logger.rb line 221 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActiveSupport::BroadcastLogger

Type at least 2 characters to search.

↑↓ navigate · open · esc close