Permalink
Browse files

Stupidness

  • Loading branch information...
1 parent dc680be commit d665cd6a2ab37032d34a37720e34cb01a9a8f430 @olabini committed Oct 21, 2009
Showing with 2 additions and 1 deletion.
  1. +2 −1 ext/ruby/src/java/org/yecht/ruby/RubyLoadHandler.java
@@ -4,6 +4,7 @@
import org.yecht.Parser;
import org.jruby.Ruby;
+import org.jruby.RubyObject;
import org.jruby.RubyHash;
import org.jruby.runtime.builtin.IRubyObject;
import org.jruby.runtime.CallSite;
@@ -47,7 +48,7 @@ public Object handle(Parser p, org.yecht.Node n) {
}
if(bonus.taint) {
- obj.taint(runtime.getCurrentContext());
+ ((RubyObject)obj).taint(runtime.getCurrentContext());
}
if(bonus.proc != null) {

0 comments on commit d665cd6

Please sign in to comment.