org.jruby
Class RubyComparable

java.lang.Object
  extended byorg.jruby.RubyComparable

public class RubyComparable
extends java.lang.Object

Implementation of the Comparable module.

Version:
$Revision: 1.2 $
Author:
jpetersen

Constructor Summary
RubyComparable()
           
 
Method Summary
static RubyBoolean between_p(IRubyObject recv, IRubyObject first, IRubyObject second)
           
static RubyModule createComparable(Ruby ruby)
           
static RubyBoolean equal(IRubyObject recv, IRubyObject other)
           
static RubyBoolean op_ge(IRubyObject recv, IRubyObject other)
           
static RubyBoolean op_gt(IRubyObject recv, IRubyObject other)
           
static RubyBoolean op_le(IRubyObject recv, IRubyObject other)
           
static RubyBoolean op_lt(IRubyObject recv, IRubyObject other)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RubyComparable

public RubyComparable()
Method Detail

createComparable

public static RubyModule createComparable(Ruby ruby)

equal

public static RubyBoolean equal(IRubyObject recv,
                                IRubyObject other)

op_gt

public static RubyBoolean op_gt(IRubyObject recv,
                                IRubyObject other)

op_ge

public static RubyBoolean op_ge(IRubyObject recv,
                                IRubyObject other)

op_lt

public static RubyBoolean op_lt(IRubyObject recv,
                                IRubyObject other)

op_le

public static RubyBoolean op_le(IRubyObject recv,
                                IRubyObject other)

between_p

public static RubyBoolean between_p(IRubyObject recv,
                                    IRubyObject first,
                                    IRubyObject second)


Copyright © 2002 Jan Arne Petersen. All Rights Reserved.