# File lib/spork/test_framework.rb, line 70 def self.supported_test_frameworks(starting_with = nil) @@supported_test_frameworks.sort! { |a,b| a.load_preference_index <=> b.load_preference_index } return @@supported_test_frameworks if starting_with.nil? @@supported_test_frameworks.select do |s| s.short_name.match(/^#{Regexp.escape(starting_with)}/i) end end