Sha256: 40e88ae47cd2c257b3a31a2680c4c18220dc6ea42977b1f48df454aad8aea28d

Contents?: true

Size: 330 Bytes

Versions: 42

Compression:

Stored size: 330 Bytes

Contents

require 'rubypitaya/core/path'
require 'rubypitaya/core/initializer_base'

module RubyPitaya

  class InitializerBroadcast

    def run(initializer_content)
      ObjectSpace.each_object(InitializerBase.singleton_class) do |klass|
        instance = klass.new
        instance.run(initializer_content)
      end
    end
  end
end

Version data entries

42 entries across 42 versions & 1 rubygems

Version Path
rubypitaya-2.7.5 ./lib/rubypitaya/core/initializer_broadcast.rb
rubypitaya-2.7.4 ./lib/rubypitaya/core/initializer_broadcast.rb
rubypitaya-2.7.3 ./lib/rubypitaya/core/initializer_broadcast.rb
rubypitaya-2.7.1 ./lib/rubypitaya/core/initializer_broadcast.rb
rubypitaya-2.7.0 ./lib/rubypitaya/core/initializer_broadcast.rb
rubypitaya-2.6.4 ./lib/rubypitaya/core/initializer_broadcast.rb
rubypitaya-2.6.3 ./lib/rubypitaya/core/initializer_broadcast.rb
rubypitaya-2.6.2 ./lib/rubypitaya/core/initializer_broadcast.rb
rubypitaya-2.6.1 ./lib/rubypitaya/core/initializer_broadcast.rb
rubypitaya-2.6.0 ./lib/rubypitaya/core/initializer_broadcast.rb
rubypitaya-2.5.1 ./lib/rubypitaya/core/initializer_broadcast.rb
rubypitaya-2.5.0 ./lib/rubypitaya/core/initializer_broadcast.rb
rubypitaya-2.4.4 ./lib/rubypitaya/core/initializer_broadcast.rb
rubypitaya-2.4.3 ./lib/rubypitaya/core/initializer_broadcast.rb
rubypitaya-2.4.2 ./lib/rubypitaya/core/initializer_broadcast.rb
rubypitaya-2.4.1 ./lib/rubypitaya/core/initializer_broadcast.rb
rubypitaya-2.4.0 ./lib/rubypitaya/core/initializer_broadcast.rb
rubypitaya-2.3.2 ./lib/rubypitaya/core/initializer_broadcast.rb
rubypitaya-2.3.1 ./lib/rubypitaya/core/initializer_broadcast.rb
rubypitaya-2.3.0 ./lib/rubypitaya/core/initializer_broadcast.rb