@Test public void test_suffixes_default() { RubyLanguage rubyLanguage = new RubyLanguage(new MapSettings().asConfig()); assertThat(rubyLanguage.getFileSuffixes()).containsExactly(".rb"); }
@Override public String[] getFileSuffixes() { String[] suffixes = configuration.getStringArray(RubyPlugin.RUBY_FILE_SUFFIXES_KEY); if (suffixes == null || suffixes.length == 0) { suffixes = RubyPlugin.RUBY_FILE_SUFFIXES_DEFAULT_VALUE.split(","); } return suffixes; }
RubyLanguage extends AbstractLanguage { @Override public String[] getFileSuffixes() { String[] suffixes = configuration.getStringArray(RubyPlugin.RUBY_FILE_SUFFIXES_KEY); if (suffixes == null || suffixes.length == 0) { suffixes = RubyPlugin.RUBY_FILE_SUFFIXES_DEFAULT_VALUE.split(","); } return suffixes; } }
RubyLanguage extends AbstractLanguage { @Override public String[] getFileSuffixes() { String[] suffixes = configuration.getStringArray(RubyPlugin.RUBY_FILE_SUFFIXES_KEY); if (suffixes == null || suffixes.length == 0) { suffixes = RubyPlugin.RUBY_FILE_SUFFIXES_DEFAULT_VALUE.split(","); } return suffixes; } RubyLanguage(Configuration configuration); }
RubyLanguage extends AbstractLanguage { @Override public String[] getFileSuffixes() { String[] suffixes = configuration.getStringArray(RubyPlugin.RUBY_FILE_SUFFIXES_KEY); if (suffixes == null || suffixes.length == 0) { suffixes = RubyPlugin.RUBY_FILE_SUFFIXES_DEFAULT_VALUE.split(","); } return suffixes; } RubyLanguage(Configuration configuration); @Override String[] getFileSuffixes(); }
RubyLanguage extends AbstractLanguage { @Override public String[] getFileSuffixes() { String[] suffixes = configuration.getStringArray(RubyPlugin.RUBY_FILE_SUFFIXES_KEY); if (suffixes == null || suffixes.length == 0) { suffixes = RubyPlugin.RUBY_FILE_SUFFIXES_DEFAULT_VALUE.split(","); } return suffixes; } RubyLanguage(Configuration configuration); @Override String[] getFileSuffixes();  }