-
-
Save Who828/a0d2a5af68c46bd4f6b7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if (args.length == 1 && | |
args[0] instanceof RubyArray && | |
((RubyArray) args[0]).getLength() == 1) | |
args = new IRubyObject[] {args[0].rbClone()}; | |
else | |
args = args[0].convertToArray().toJavaArray(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment