Sha256: fbda25ef7e994be14c82309af50e5337c409c52d6ab786dfb3f0eeb63c36ebea

Contents?: true

Size: 183 Bytes

Versions: 4

Compression:

Stored size: 183 Bytes

Contents

module Kernel
  def require_dirs(dirs)
    Array.wrap(dirs).each do |load_path|
      Dir.glob("#{load_path}/**/*.rb").each do |file|
        require file
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
ruby_core_extensions-0.4.0 lib/ruby_core_extensions/kernel.rb
ruby_core_extensions-0.3.0 lib/ruby_core_extensions/kernel.rb
ruby_core_extensions-0.2.0 lib/ruby_core_extensions/kernel.rb
ruby_core_extensions-0.1.0 lib/ruby_core_extensions/kernel.rb