java.net package Ruby additions.
| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static void |
| JavaNet | back to summary |
|---|---|
| public JavaNet() | |
| define | back to summary |
|---|---|
| public static void define(ThreadContext context) | |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public IRubyObject | call(ThreadContext context, IRubyObject self, RubyModule clazz, String name, Block block)
Implements abstract org.
|
| public IRubyObject | call(ThreadContext
The thread context for the currently executing thread context, IRubyObject The 'self' or 'receiver' object to use for this call self, RubyModule The Ruby class against which this method is binding clazz, String The incoming name used to invoke this method name, IRubyObject[] The first argument to this invocation args)Overrides org. A default implementation of n-arity, non-block 'call' method, which simply calls the n-arity, block-receiving version with the arg list and Block.NULL_BLOCK. |
| public IRubyObject | call(ThreadContext
The thread context for the currently executing thread context, IRubyObject The 'self' or 'receiver' object to use for this call self, RubyModule The Ruby class against which this method is binding clazz, String The incoming name used to invoke this method name, IRubyObject[] The argument list to this invocation args, Block The block passed to this invocation block)Implements abstract org. The minimum 'call' method required for a dynamic method handle. |
| URLOpenMethod | back to summary |
|---|---|
| pack-priv URLOpenMethod(RubyModule implClass) | |
| call | back to summary |
|---|---|
| public IRubyObject call(ThreadContext context, IRubyObject self, RubyModule clazz, String name, Block block) Implements abstract org.
| |
| call | back to summary |
|---|---|
| public IRubyObject call(ThreadContext context, IRubyObject self, RubyModule clazz, String name, IRubyObject[] args) Overrides org. Doc from org. A default implementation of n-arity, non-block 'call' method, which simply calls the n-arity, block-receiving version with the arg list and Block.NULL_BLOCK.
| |
| call | back to summary |
|---|---|
| public IRubyObject call(ThreadContext context, IRubyObject self, RubyModule clazz, String name, IRubyObject[] args, Block block) Implements abstract org. Doc from org. The minimum 'call' method required for a dynamic method handle. Subclasses must implement this method, but may implement the other signatures to provide faster, non-boxing call paths. Typically subclasses will implement this method to check variable arity calls, then performing a specific-arity invocation to the appropriate method or performing variable-arity logic in-line.
| |