And RubyClass.new should be:

    public RubyObject new(RubyObject[] args)
    {  return new RubyObject(this, args);
    }