class method self.new

Ruby on Rails 8.1.2

Since v8.1.2

Signature

self.new(initializers = nil)

No documentation comment.

Parameters

initializers opt = nil
Source
# File railties/lib/rails/initializable.rb, line 43
      def initialize(initializers = nil)
        @order = Hash.new { |hash, key| hash[key] = Set.new }
        @resolve = Hash.new { |hash, key| hash[key] = Set.new }
        @collection = []
        concat(initializers) if initializers
      end

Defined in railties/lib/rails/initializable.rb line 43 · View on GitHub · Improve this page · Find usages on GitHub

Defined in Rails::Initializable::Collection

Type at least 2 characters to search.

↑↓ navigate · open · esc close