Sha256: 417676b0844d4d0d5a427fc3bbf441d3077c6d0e787a7c1605509508bc36258e

Contents?: true

Size: 459 Bytes

Versions: 5

Compression:

Stored size: 459 Bytes

Contents

# frozen_string_literal: true

require "pakyow/support/extension"

module Pakyow
  module Environment
    module Behavior
      module Initializers
        extend Support::Extension

        apply_extension do
          on "configure" do
            Dir.glob(File.join(Pakyow.config.root, "config/initializers/environment/**/*.rb")).each do |initializer|
              require initializer
            end
          end
        end
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
pakyow-core-1.0.0.rc5 lib/pakyow/environment/behavior/initializers.rb
pakyow-core-1.0.0.rc4 lib/pakyow/environment/behavior/initializers.rb
pakyow-core-1.0.0.rc3 lib/pakyow/environment/behavior/initializers.rb
pakyow-core-1.0.0.rc2 lib/pakyow/environment/behavior/initializers.rb
pakyow-core-1.0.0.rc1 lib/pakyow/environment/behavior/initializers.rb