@Override @JRubyMethod(name="initialize", visibility = PRIVATE, required = 3, optional = 1) public final IRubyObject initialize(ThreadContext context, IRubyObject[] args) { IRubyObject type = args[2]; if (!(type instanceof Type.Array)) { throw context.runtime.newTypeError(type, context.runtime.getModule("FFI").getClass("Type").getClass("Array")); } init(args, new ArrayFieldIO((Type.Array) type)); return this; } }
@Override @JRubyMethod(name="initialize", visibility = PRIVATE, required = 3, optional = 1) public final IRubyObject initialize(ThreadContext context, IRubyObject[] args) { IRubyObject type = args[2]; if (!(type instanceof Type.Array)) { throw context.runtime.newTypeError(type, context.runtime.getModule("FFI").getClass("Type").getClass("Array")); } init(args, new ArrayFieldIO((Type.Array) type)); return this; } }
@Override @JRubyMethod(name="initialize", visibility = PRIVATE, required = 3, optional = 1) public final IRubyObject initialize(ThreadContext context, IRubyObject[] args) { IRubyObject type = args[2]; if (!(type instanceof Type.Array)) { throw context.runtime.newTypeError(type, context.runtime.getModule("FFI").getClass("Type").getClass("Array")); } init(args, new ArrayFieldIO((Type.Array) type)); return this; } }
@Override @JRubyMethod(name="initialize", visibility = PRIVATE, required = 3, optional = 1) public final IRubyObject initialize(ThreadContext context, IRubyObject[] args) { IRubyObject type = args[2]; if (!(type instanceof Type.Array)) { throw context.runtime.newTypeError(type, context.runtime.getModule("FFI").getClass("Type").getClass("Array")); } init(args, new ArrayFieldIO((Type.Array) type)); return this; } }