|
From: <caw...@us...> - 2007-08-16 15:57:41
|
Revision: 2990
http://rubyeclipse.svn.sourceforge.net/rubyeclipse/?rev=2990&view=rev
Author: cawilliams
Date: 2007-08-16 08:57:38 -0700 (Thu, 16 Aug 2007)
Log Message:
-----------
add quick fix for method_missing without respond_to? warning
Modified Paths:
--------------
trunk/org.rubypeople.rdt.core/src/org/rubypeople/rdt/core/formatter/Indents.java
Modified: trunk/org.rubypeople.rdt.core/src/org/rubypeople/rdt/core/formatter/Indents.java
===================================================================
--- trunk/org.rubypeople.rdt.core/src/org/rubypeople/rdt/core/formatter/Indents.java 2007-08-15 20:57:22 UTC (rev 2989)
+++ trunk/org.rubypeople.rdt.core/src/org/rubypeople/rdt/core/formatter/Indents.java 2007-08-16 15:57:38 UTC (rev 2990)
@@ -269,4 +269,8 @@
return ch == '\n' || ch == '\r';
}
+ public static String extractIndentString(String line, Map options) {
+ return extractIndentString(line, getTabWidth(options), getIndentWidth(options));
+ }
+
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|