ÿØÿà JFIF ÿÛ „ ( %!1!%*+...983,7(-.-
U:RDoc::AnyMethod[iI"try_convert:ETI"Integer::try_convert;TT:privateo:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"9If +object+ is an \Integer object, returns +object+.;To:RDoc::Markup::Verbatim; [I"#Integer.try_convert(1) # => 1
;T:@format0o;
; [I"9Otherwise if +object+ responds to :to_int, ;TI"9calls object.to_int and returns the result.;To;; [I"&Integer.try_convert(1.25) # => 1
;T;0o;
; [I"CReturns +nil+ if +object+ does not respond to :to_int;To;; [I"&Integer.try_convert([]) # => nil
;T;0o;
; [I"RRaises an exception unless object.to_int returns an \Integer object.;T:
@fileI"numeric.rb;T:0@omit_headings_from_table_of_contents_below0I" object, integer, or nil
;T0[ I"
(num);T@!FI"Integer;TcRDoc::NormalClass00