Sha256: f9e752024dc31a1858398edac620f076a1a72b5f2a4c24b5e7a7fe4f64c6b507

Contents?: true

Size: 408 Bytes

Versions: 7

Compression:

Stored size: 408 Bytes

Contents

# frozen_string_literal: true

require "pakyow/support/extension"

module Pakyow
  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

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
pakyow-core-1.0.6 lib/pakyow/behavior/initializers.rb
pakyow-core-1.0.5 lib/pakyow/behavior/initializers.rb
pakyow-core-1.0.4 lib/pakyow/behavior/initializers.rb
pakyow-core-1.0.3 lib/pakyow/behavior/initializers.rb
pakyow-core-1.0.2 lib/pakyow/behavior/initializers.rb
pakyow-core-1.0.1 lib/pakyow/behavior/initializers.rb
pakyow-core-1.0.0 lib/pakyow/behavior/initializers.rb