Sha256: 050fe2c205f91fda686f6f72a3a4fdbdcd4d8c16f71f9330f4eea68dd51b8005

Contents?: true

Size: 654 Bytes

Versions: 20

Compression:

Stored size: 654 Bytes

Contents

### Get Files from dir
begin

  files_to_be_loaded = %w[version.rb]

  module Loader
    SpecFiles= Array.new
  end

  Dir[File.expand_path(File.join(File.dirname(__FILE__),"**","*"))].sort.uniq.each do |one_file_name|
    one_file_name = File.expand_path one_file_name
    file_name = one_file_name[(File.expand_path(File.dirname(__FILE__)).to_s.length+1)..(one_file_name.length-1)]

    if !one_file_name.include?("pkg")
      if !File.directory? file_name

        Loader::SpecFiles.push file_name

        if files_to_be_loaded.include? one_file_name.split(File::SEPARATOR).last
          load one_file_name
        end

      end
    end

  end

end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
loader-3.1.0 files.rb
loader-3.0.1 files.rb
loader-3.0.0 files.rb
loader-2.2.3 files.rb
loader-2.2.2 files.rb
loader-2.2.1 files.rb
loader-2.1.0 files.rb
loader-2.0.0 files.rb
loader-1.4.2 files.rb
loader-1.4.1 files.rb
loader-1.3.2 files.rb
loader-1.3.1 files.rb
loader-1.2.6 files.rb
loader-1.2.5 files.rb
loader-1.2.4 files.rb
loader-1.2.3 files.rb
loader-1.2.1 files.rb
loader-1.2.0.rc files.rb
loader-1.1.1 files.rb
loader-1.1.0 files.rb