Sha256: a52a1475e27915f92ac7923d8fcd3bcac8b9cf9a3485d4a084d28e654a3cb46b

Contents?: true

Size: 536 Bytes

Versions: 8

Compression:

Stored size: 536 Bytes

Contents

### Get Files from dir
begin

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

        GrapeDSL::SpecFiles.push file_name
        STDOUT.puts file_name if $DEBUG

      end
    end

  end

end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
grape-dsl-2.3.0 files.rb
grape-dsl-2.2.1 files.rb
grape-dsl-2.2.0 files.rb
grape-dsl-2.1.0 files.rb
grape-dsl-2.0.3 files.rb
grape-dsl-2.0.2 files.rb
grape-dsl-2.0.1 files.rb
grape-dsl-1.3.0 files.rb