示例#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));
 }