public class JRubyObjectHandler extends ReflectionObjectHandler
MAP_METHOD
Constructor and Description |
---|
JRubyObjectHandler() |
Modifier and Type | Method and Description |
---|---|
Object |
coerce(Object object)
Coerce results to Java native iterables, functions, callables.
|
protected Wrapper |
findWrapper(int scopeIndex,
Wrapper[] wrappers,
List<Guard> guards,
Object scope,
String name)
Find a wrapper given the current context.
|
areMethodsAccessible, createBinding, createClassGuard, createDepthGuard, createDotGuard, createMapGuard, createMissingWrapper, createNullGuard, createWrappedGuard, createWrapper, find, unwrap
checkField, checkMethod, falsey, findMember, getField, getMethod, iterate, stringify
public Object coerce(Object object)
ObjectHandler
coerce
in interface ObjectHandler
coerce
in class BaseObjectHandler
protected Wrapper findWrapper(int scopeIndex, Wrapper[] wrappers, List<Guard> guards, Object scope, String name)
ReflectionObjectHandler
findWrapper
in class ReflectionObjectHandler
scopeIndex
- the index into the scope arraywrappers
- the current set of wrappers to get hereguards
- the list of guards used to find thisscope
- the current scopename
- the name in the scopeCopyright © 2013. All Rights Reserved.