Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
ruby / usr / share / ri / 2.2.0 / system / Object / %3c%3d%3e-i.ri
Size: Mime:
U:RDoc::AnyMethod[iI"<=>:ETI"Object#<=>;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph;	[I"8Returns 0 if +obj+ and +other+ are the same object ;TI"1or <code>obj == other</code>, otherwise nil.;To:RDoc::Markup::BlankLineo;
;	[I"UThe <code><=></code> is used by various methods to compare objects, for example ;TI")Enumerable#sort, Enumerable#max etc.;T@o;
;	[	I"_Your implementation of <code><=></code> should return one of the following values: -1, 0, ;TI"T1 or nil. -1 means self is smaller than other. 0 means self is equal to other. ;TI"N1 means self is bigger than other. Nil means the two values could not be ;TI"compared.;T@o;
;	[I"VWhen you define <code><=></code>, you can include Comparable to gain the methods ;TI"q<code><=</code>, <code><</code>, <code>==</code>, <code>>=</code>, <code>></code> and <code>between?</code>.;T:
@fileI"
object.c;T:0@omit_headings_from_table_of_contents_below0I"obj <=> other -> 0 or nil
;T0[I"	(p1);T@FI"Object;TcRDoc::NormalClass00