๐ File Manager Pro
v10.0.3 | PHP: 8.1.34
Server: Apache
2026-06-22 14:03:38
๐
/ (Root)
/
opt
/
alt
/
ruby33
/
share
/
ri
/
system
/
String
๐ /opt/alt/ruby33/share/ri/system/String
๐ Refresh
โ๏ธ
Editing: sum-i.ri
Read Only
U:RDoc::AnyMethod[iI"sum:ETI"String#sum;TF:privateo:RDoc::Markup::Document:@parts[ o:RDoc::Markup::Paragraph; [I"CReturns a basic +n+-bit checksum of the characters in +self+; ;TI"Ithe checksum is the sum of the binary value of each byte in +self+, ;TI"modulo <tt>2**n - 1</tt>:;To:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim; [ I"'hello'.sum # => 532 ;TI"'hello'.sum(4) # => 4 ;TI"'hello'.sum(64) # => 532 ;TI"#'ัะตัั'.sum # => 1405 ;TI"&'ใใใซใกใฏ'.sum # => 2582 ;T:@format0o; ; [I"0This is not a particularly strong checksum.;T: @fileI" string.c;T:0@omit_headings_from_table_of_contents_below0I"sum(n = 16) -> integer ;T0[ I"(*args);T@FI"String;TcRDoc::NormalClass00
๐พ Save Changes
โ Cancel