Method: PEROBS::StackFile#each
- Defined in:
- lib/perobs/StackFile.rb
#each ⇒ Object
Iterate over all entries in the stack and call the given block for the bytes.
124 125 126 127 128 129 |
# File 'lib/perobs/StackFile.rb', line 124 def each @f.seek(0) while !@f.eof yield(@f.read(@entry_bytes)) end end |