Top Constructors Methods
org.jruby.runtime.callsite

public Class AsetCallSite

extends MonomorphicCallSite
Class Inheritance
Imports
org.jruby.RubyArray, org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public IRubyObject
call(ThreadContext
the ThreadContext for the current thread
context
,
IRubyObject
the caller, for visibility checks
caller
,
IRubyObject
the target object to call against
self
,
IRubyObject
the first argument to pass
arg0
,
IRubyObject
the second argument to pass
arg1
)

Overrides org.jruby.runtime.callsite.CachingCallSite.call.

Call the site's method against the target object passing two arguments.

Constructor Detail

AsetCallSiteback to summary
public AsetCallSite()

Method Detail

callback to summary
public IRubyObject call(ThreadContext context, IRubyObject caller, IRubyObject self, IRubyObject arg0, IRubyObject arg1)

Overrides org.jruby.runtime.callsite.CachingCallSite.call.

Doc from org.jruby.runtime.CallSite.call.

Call the site's method against the target object passing two arguments.

Parameters
context:ThreadContext

the ThreadContext for the current thread

caller:IRubyObject

the caller, for visibility checks

self:IRubyObject

the target object to call against

arg0:IRubyObject

the first argument to pass

arg1:IRubyObject

the second argument to pass

Returns:IRubyObject

the result of the call

Annotations
@Override