U:RDoc::AnyMethod[iI"<=>:ETI"Rational#<=>;TF: publico:RDoc::Markup::Document: @parts[ o:RDoc::Markup::Paragraph; [I"2Performs comparison and returns -1, 0, or +1.;To:RDoc::Markup::BlankLineo; ; [I":+nil+ is returned if the two values are incomparable.;T@o:RDoc::Markup::Verbatim; [ I"/Rational(2, 3) <=> Rational(2, 3) #=> 0 ;TI"/Rational(5) <=> 5 #=> 0 ;TI"/Rational(2,3) <=> Rational(1,3) #=> 1 ;TI"0Rational(1,3) <=> 1 #=> -1 ;TI".Rational(1,3) <=> 0.3 #=> 1;T: @format0: @fileI"rational.c;T:0@omit_headings_from_table_of_contents_below0I"0rational <=> numeric -> -1, 0, +1 or nil ;T0[I" (p1);T@FI" Rational;TcRDoc::NormalClass00