예제 #1
0
파일: ERBScript.java 프로젝트: aptana/rdt
 private String replaceNonRubyCodeWithWhitespace(String source) {
   return new String(Util.replaceNonRubyCodeWithWhitespace(source));
 }
예제 #2
0
파일: ERBScript.java 프로젝트: aptana/rdt
 @Override
 protected char[] getCharacters(IProgressMonitor pm, RubyScriptElementInfo unitInfo)
     throws RubyModelException {
   char[] cs = super.getCharacters(pm, unitInfo);
   return Util.replaceNonRubyCodeWithWhitespace(new String(cs));
 }