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
/
ruby21
/
share
/
ri
/
2.1.0
/
system
/
ARGF
/
//opt/alt/ruby21/share/ri/2.1.0/system/ARGF/each_byte-i.ri
U:RDoc::AnyMethod[iI"each_byte:ETI"ARGF#each_byte;TF:publico:RDoc::Markup::Document:@parts[ o:RDoc::Markup::Verbatim; [I"5Iterates over each byte of each file in +ARGV+. ;TI";A byte is returned as a +Fixnum+ in the range 0..255. ;TI" ;TI"OThis method allows you to treat the files supplied on the command line as ;TI"Ma single file consisting of the concatenation of each named file. After ;TI"Nthe last byte of the first file has been returned, the first byte of the ;TI"Hsecond file is returned. The +ARGF.filename+ method can be used to ;TI"1determine the filename of the current byte. ;TI" ;TI">If no block is given, an enumerator is returned instead. ;T:@format0o:RDoc::Markup::Paragraph; [I"For example:;To:RDoc::Markup::BlankLine o; ; [I".ARGF.bytes.to_a #=> [35, 32, ... 95, 10];T;0: @fileI" io.c;T:0@omit_headings_from_table_of_contents_below0I"�ARGF.bytes {|byte| block } -> ARGF ARGF.bytes -> an_enumerator ARGF.each_byte {|byte| block } -> ARGF ARGF.each_byte -> an_enumerator ;T0[ I"();T@FI" ARGF;TcRDoc::NormalClass00