D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
opt
/
alt
/
ruby34
/
share
/
ri
/
system
/
String
/
Filename :
each_byte-i.ri
back
Copy
U:RDoc::AnyMethod[iI"each_byte:ETI"String#each_byte;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"BCalls the given block with each successive byte from +self+; ;TI"returns +self+:;To:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim; [I"1'hello'.each_byte {|byte| print byte, ' ' } ;TI"print "\n" ;TI"4'тест'.each_byte {|byte| print byte, ' ' } ;TI"print "\n" ;TI";'こんにちは'.each_byte {|byte| print byte, ' ' } ;TI"print "\n" ;T:@format0o; ; [I"Output:;T@o;; [I"104 101 108 108 111 ;TI"%209 130 208 181 209 129 209 130 ;TI"A227 129 147 227 130 147 227 129 171 227 129 161 227 129 175 ;T; 0o; ; [I"0Returns an enumerator if no block is given.;T: @fileI" string.c;T:0@omit_headings_from_table_of_contents_below0I"Keach_byte {|byte| ... } -> self each_byte -> enumerator ;T0[ I"();T@#FI"String;TcRDoc::NormalClass00