public class RubyComparable
extends java.lang.Object
Constructor and Description |
---|
RubyComparable() |
public static RubyModule createComparable(Ruby runtime)
public static int cmpint(ThreadContext context, CallSite op_gt, CallSite op_lt, IRubyObject val, IRubyObject a, IRubyObject b)
public static int cmpint(ThreadContext context, IRubyObject val, IRubyObject a, IRubyObject b)
public static int cmpAndCmpint(ThreadContext context, IRubyObject a, IRubyObject b)
public static int cmpAndCmpint(ThreadContext context, CallSite op_cmp, CallSite op_gt, CallSite op_lt, IRubyObject a, IRubyObject b)
public static IRubyObject cmperr(IRubyObject recv, IRubyObject other)
public static IRubyObject invcmp(ThreadContext context, IRubyObject recv, IRubyObject other)
public static IRubyObject invcmp(ThreadContext context, ThreadContext.RecursiveFunctionEx func, IRubyObject recv, IRubyObject other)
public static IRubyObject op_equal(ThreadContext context, IRubyObject recv, IRubyObject other)
@Deprecated public static IRubyObject op_equal19(ThreadContext context, IRubyObject recv, IRubyObject other)
public static RubyBoolean op_gt(ThreadContext context, IRubyObject recv, IRubyObject other)
public static RubyBoolean op_ge(ThreadContext context, IRubyObject recv, IRubyObject other)
public static RubyBoolean op_lt(ThreadContext context, IRubyObject recv, IRubyObject other)
public static RubyBoolean op_lt(ThreadContext context, CallSite cmp, IRubyObject recv, IRubyObject other)
public static RubyBoolean op_le(ThreadContext context, IRubyObject recv, IRubyObject other)
public static RubyBoolean between_p(ThreadContext context, IRubyObject recv, IRubyObject first, IRubyObject second)
public static IRubyObject clamp(ThreadContext context, IRubyObject recv, IRubyObject min, IRubyObject max)
Copyright © 2001-2018 JRuby. All Rights Reserved.