This is a Ruby tree! It shows every object from the Ruby Programming Language in a tree format.

each_byte

        # IO.each_byte

(from ruby core)
---
    ios.each_byte {|byte| block }  -> ios
    ios.each_byte                  -> an_enumerator

---

Calls the given block once for each byte (0..255) in *ios*, passing the
byte as an argument. The stream must be opened for reading or an IOError
will be raised.

If no block is given, an enumerator is returned instead.

    f = File.new("testfile")
    checksum = 0
    f.each_byte {|x| checksum ^= x }   #=> #<File:testfile>
    checksum                           #=> 12



      

This is MURDOC! A Ruby documentation browser inspired by Smalltalk-80. It allows you to learn about Ruby by browsing through its class hierarchies, and see any of its methods.