Package org.jruby

Examples of org.jruby.RubyArray.clear()


    RubyHelper.setNum(object, "@code", id);
    RubyHelper.setNum(object, "@indent", indent);

    // set parameters
    RubyArray para = (RubyArray) object.getInstanceVariable("@parameters");
    para.clear();

    for (IRubyObject r : parameters) {
      para.add(r);
    }
  }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.