class RSpec::Core::RakeTask

def files_to_run

def files_to_run
  if ENV['SPEC']
    FileList[ ENV['SPEC'] ].sort
  else
    FileList[ pattern ].sort.map { |f| shellescape(f) }
  end
end