module RTest::FileGetter

Public Class Methods

args() click to toggle source
# File lib/rtest/file_getter.rb, line 14
def self.args
  ARGV
end
files_from_args() click to toggle source
# File lib/rtest/file_getter.rb, line 6
def self.files_from_args
  files = []
  args.each do |file_path|
    Find.find(file_path) { |path| files << path if File.file?(path) }
  end
  files
end