Skip to content

Commit

Permalink
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions core/src/main/java/org/jruby/embed/variable/Argv.java
Original file line number Diff line number Diff line change
@@ -176,6 +176,12 @@ private static void updateARGV(final IRubyObject receiver, final BiVariableMap v
}
}

// ARGV appears to require special treatment, leaving javaType intact
protected void updateRubyObject(final IRubyObject rubyObject) {
if ( rubyObject == null ) return;
this.irubyObject = rubyObject;
}

/**
* Retrieves ARGV by key from Ruby runtime after the evaluation.
* This method is used when eager retrieval is off.

0 comments on commit 69402bc

Please sign in to comment.