org.jruby
Class RubyComparable
java.lang.Object
org.jruby.RubyComparable
- public class RubyComparable
- extends java.lang.Object
Implementation of the Comparable module.
- Version:
- $Revision: 1.2 $
- Author:
- jpetersen
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RubyComparable
public RubyComparable()
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.