JezK
Edit File: %2d-i.ri
U:RDoc::AnyMethod[iI"-:ETI"Date#-;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [ I"IReturns the difference between the two dates if the other is a date ;TI"Eobject. If the other is a numeric value, returns a date object ;TI"Npointing +other+ days before self. If the other is a fractional number, ;TI"1assumes its precision is at most nanosecond.;To:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim; [I":Date.new(2001,2,3) - 1 #=> #<Date: 2001-02-02 ...> ;TI",DateTime.new(2001,2,3) - Rational(1,2) ;TI"M #=> #<DateTime: 2001-02-02T12:00:00+00:00 ...> ;TI")Date.new(2001,2,3) - Date.new(2001) ;TI") #=> (33/1) ;TI"8DateTime.new(2001,2,3) - DateTime.new(2001,2,2,12) ;TI"' #=> (1/2);T:@format0: @fileI"ext/date/date_core.c;T:0@omit_headings_from_table_of_contents_below0I"%d - other -> date or rational ;T0[ I" (p1);T@FI" Date;TcRDoc::NormalClass00