# ARGF.each\_byte yields a string

**URL:** <https://www.ruby-forum.com/t/argf-each-byte-yields-a-string/111777>\
**Category:** Development\
**Created:** [August 10, 2007, 6:45pm UTC](https://www.ruby-forum.com/t/argf-each-byte-yields-a-string/111777 "2007-08-10T18:45:08Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tanaka\_A](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/c67d28/32.png) [@Tanaka\_A](https://www.ruby-forum.com/u/Tanaka_A)\
**Post date:** [August 10, 2007, 6:45pm UTC](https://www.ruby-forum.com/t/argf-each-byte-yields-a-string/111777/1 "2007-08-10T18:45:08Z")

</div>

ARGF.each\_byte e$B$Oe(B String objecte$B$re(B yield e$B$9$k$h$&$G$9!#e(B

% echo|./ruby -ve ‘ARGF.each\_byte {|b| p b }’  
ruby 1.9.0 (2007-08-11 patchlevel 0) [i686-linux]  
“\n”
