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, isReferenceRequired
public IntOrEnumConverter(NativeType nativeType, IRubyObject enums)
public NativeType nativeType()
nativeType
in class NativeDataConverter
public IRubyObject fromNative(ThreadContext context, IRubyObject obj)
fromNative
in class NativeDataConverter
public IRubyObject toNative(ThreadContext context, IRubyObject obj)
toNative
in class NativeDataConverter
Copyright © 2001-2020 JRuby. All Rights Reserved.