Package org.jruby

Examples of org.jruby.RubyObject.containsKey()


      // build the list
      ArrayList<SystemGObject> ro = new ArrayList<SystemGObject>();
      for (int i = 0; i <= max; i++) {
        // add it
        if (o.containsKey(i)) {
          ro.add(new SystemGObject(o.get(i)));
        } else {
          // build filler
          RubyObject no = (RubyObject) RGSSProjectHelper.getInterpreter(project).runScriptlet("return RPG::Map.new(20,15)");
          no.setInstanceVariable("@name", RubyString.newString(r.getRuntime(), "Fill " + i));
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.