public class RubyComparable extends Object
Constructor and Description |
---|
RubyComparable() |
Modifier and Type | Method and Description |
---|---|
static RubyBoolean |
between_p(ThreadContext context,
IRubyObject recv,
IRubyObject first,
IRubyObject second)
cmp_between
|
static IRubyObject |
cmperr(IRubyObject recv,
IRubyObject other)
rb_cmperr
|
static int |
cmpint(ThreadContext context,
IRubyObject val,
IRubyObject a,
IRubyObject b)
rb_cmpint
|
static RubyModule |
createComparable(Ruby runtime) |
static IRubyObject |
op_equal(ThreadContext context,
IRubyObject recv,
IRubyObject other)
cmp_equal (cmp_eq inlined here)
|
static IRubyObject |
op_equal19(ThreadContext context,
IRubyObject recv,
IRubyObject other) |
static RubyBoolean |
op_ge(ThreadContext context,
IRubyObject recv,
IRubyObject other)
cmp_ge
|
static RubyBoolean |
op_gt(ThreadContext context,
IRubyObject recv,
IRubyObject other)
cmp_gt
|
static RubyBoolean |
op_le(ThreadContext context,
IRubyObject recv,
IRubyObject other)
cmp_le
|
static RubyBoolean |
op_lt(ThreadContext context,
IRubyObject recv,
IRubyObject other)
cmp_lt
|
public static RubyModule createComparable(Ruby runtime)
public static int cmpint(ThreadContext context, IRubyObject val, IRubyObject a, IRubyObject b)
public static IRubyObject cmperr(IRubyObject recv, IRubyObject other)
public static IRubyObject op_equal(ThreadContext context, IRubyObject recv, IRubyObject other)
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_le(ThreadContext context, IRubyObject recv, IRubyObject other)
public static RubyBoolean between_p(ThreadContext context, IRubyObject recv, IRubyObject first, IRubyObject second)
Copyright © 2001-2017 JRuby. All Rights Reserved.