Linux heracles.o2switch.net 4.18.0-553.62.1.lve.el8.x86_64 #1 SMP Mon Jul 21 17:50:35 UTC 2025 x86_64
/
opt
/
alt
/
ruby27
/
share
/
ri
/
system
/
String
/
//opt/alt/ruby27/share/ri/system/String/hex-i.ri
U:RDoc::AnyMethod[iI"hex:ETI"String#hex;TF:privateo:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"QTreats leading characters from <i>str</i> as a string of hexadecimal digits ;TI"M(with an optional sign and an optional <code>0x</code>) and returns the ;TI"5corresponding number. Zero is returned on error.;To:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim; [ I""0x0a".hex #=> 10 ;TI""-1234".hex #=> -4660 ;TI""0".hex #=> 0 ;TI""wombat".hex #=> 0;T:@format0: @fileI" string.c;T:0@omit_headings_from_table_of_contents_below0I"str.hex -> integer ;T0[ I"();T@FI"String;TcRDoc::NormalClass00