protected String createValue()

in rake-runner-test/src/jetbrains/slow/plugins/rakerunner/RubyVersionsDataProvider.java [30:50]


    protected String createValue() {
      String property = System.getProperty("ruby.testing.versions");
      if (property != null) {
        final List<String> rubies = StringUtil.split(property, " ");
        final String proposed = getInPriority(rubies, RUBY_VERSION_PRIORITY);
        if (proposed != null) {
          return proposed;
        }
      }
      final Properties config = getRunningBuildConfigProperties();
      if (config != null) {
        property = config.getProperty(RVMDetector.CONF_RVM_RUBIES_LIST);
        if (property != null) {
          final String proposed = getInPriority(StringUtil.split(property, ","), RUBY_VERSION_PRIORITY);
          if (proposed != null) {
            return proposed;
          }
        }
      }
      return "ruby-2.2.5";
    }