D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
opt
/
alt
/
ruby34
/
share
/
ri
/
system
/
IO
/
Filename :
each_codepoint-i.ri
back
Copy
U:RDoc::AnyMethod[iI"each_codepoint:ETI"IO#each_codepoint;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"MCalls the given block with each codepoint in the stream; returns +self+:;To:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim; [ I"f = File.new('t.rus') ;TI"a = [] ;TI"$f.each_codepoint {|c| a << c } ;TI"%a # => [1090, 1077, 1089, 1090] ;TI" f.close ;T:@format0o; ; [I"0Returns an Enumerator if no block is given.;T@o; ; [I")Related: IO#each_byte, IO#each_char.;T: @fileI" io.c;T:0@omit_headings_from_table_of_contents_below0I"Oeach_codepoint {|c| ... } -> self each_codepoint -> enumerator ;T0[ I"();T@FI"IO;TcRDoc::NormalClass00