PATH:
opt
/
alt
/
ruby34
/
share
/
ri
/
system
/
ARGF
U:RDoc::AnyMethod[iI"each_byte:ETI"ARGF#each_byte;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"5Iterates over each byte of each file in +ARGV+. ;TI":A byte is returned as an Integer in the range 0..255.;To:RDoc::Markup::BlankLine o; ; [ I"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"Fsecond file is returned. The ARGF.filename method can be used to ;TI"0determine the filename of the current byte.;T@o; ; [I"=If no block is given, an enumerator is returned instead.;T@o; ; [I"For example:;T@o:RDoc::Markup::Verbatim; [I".ARGF.bytes.to_a #=> [35, 32, ... 95, 10];T:@format0: @fileI" io.c;T:0@omit_headings_from_table_of_contents_below0I"^ARGF.each_byte {|byte| block } -> ARGF ARGF.each_byte -> an_enumerator ;T0[ I"();T@ FI" ARGF;TcRDoc::NormalClass00
[-] each_byte-i.ri
[edit]
[-] readchar-i.ri
[edit]
[-] readlines-i.ri
[edit]
[-] to_s-i.ri
[edit]
[-] eof-i.ri
[edit]
[-] inplace_mode%3d-i.ri
[edit]
[-] closed%3f-i.ri
[edit]
[-] inplace_mode-i.ri
[edit]
[-] to_a-i.ri
[edit]
[-] each_line-i.ri
[edit]
[-] read_nonblock-i.ri
[edit]
[-] rewind-i.ri
[edit]
[-] binmode%3f-i.ri
[edit]
[-] lineno-i.ri
[edit]
[-] printf-i.ri
[edit]
[-] getc-i.ri
[edit]
[-] external_encoding-i.ri
[edit]
[-] readpartial-i.ri
[edit]
[-] filename-i.ri
[edit]
[-] seek-i.ri
[edit]
[-] putc-i.ri
[edit]
[-] set_encoding-i.ri
[edit]
[-] lineno%3d-i.ri
[edit]
[-] close-i.ri
[edit]
[-] each-i.ri
[edit]
[-] pos-i.ri
[edit]
[-] readline-i.ri
[edit]
[-] path-i.ri
[edit]
[-] readbyte-i.ri
[edit]
[-] binmode-i.ri
[edit]
[-] puts-i.ri
[edit]
[-] getbyte-i.ri
[edit]
[-] each_char-i.ri
[edit]
[-] file-i.ri
[edit]
[-] to_i-i.ri
[edit]
[-] cdesc-ARGF.ri
[edit]
[+]
..
[-] pos%3d-i.ri
[edit]
[-] each_codepoint-i.ri
[edit]
[-] gets-i.ri
[edit]
[-] argv-i.ri
[edit]
[-] internal_encoding-i.ri
[edit]
[-] read-i.ri
[edit]
[-] write-i.ri
[edit]
[-] inspect-i.ri
[edit]
[-] skip-i.ri
[edit]
[-] tell-i.ri
[edit]
[-] fileno-i.ri
[edit]
[-] to_write_io-i.ri
[edit]
[-] print-i.ri
[edit]
[-] eof%3f-i.ri
[edit]
[-] to_io-i.ri
[edit]