public static final class DataConverters.IntOrEnumConverter extends NativeDataConverter
| Constructor and Description |
|---|
IntOrEnumConverter(NativeType nativeType,
IRubyObject enums) |
| Modifier and Type | Method and Description |
|---|---|
IRubyObject |
fromNative(ThreadContext context,
IRubyObject obj) |
NativeType |
nativeType() |
IRubyObject |
toNative(ThreadContext context,
IRubyObject obj) |
isPostInvokeRequired, isReferenceRequiredpublic IntOrEnumConverter(NativeType nativeType, IRubyObject enums)
public NativeType nativeType()
nativeType in class NativeDataConverterpublic IRubyObject fromNative(ThreadContext context, IRubyObject obj)
fromNative in class NativeDataConverterpublic IRubyObject toNative(ThreadContext context, IRubyObject obj)
toNative in class NativeDataConverterCopyright © 2001–2024 JRuby. All rights reserved.