Sha256: a40f80fb0a5402f78e67b7fc848721ec5b7e5f7d7afb6c5778872a517dec249d
Contents?: true
Size: 1.64 KB
Versions: 16
Compression:
Stored size: 1.64 KB
Contents
o:$YARD::CodeObjects::MethodObject: @name: bytes:@docstringIC:YARD::Docstring"Returns an enumerator that gives each byte (0..255) in <em>ios</em>. The stream must be opened for reading or an <code>IOError</code> will be raised. f = File.new("testfile") f.bytes.to_a #=> [104, 101, 108, 108, 111] f.rewind f.bytes.sort #=> [101, 104, 108, 108, 111] :@objectu:YARD::StubProxy IO#bytes: @summary0: @all"EReturns an enumerator that gives each byte (0..255) in <em>ios</em>. The stream must be opened for reading or an <code>IOError</code> will be raised. f = File.new("testfile") f.bytes.to_a #=> [104, 101, 108, 108, 111] f.rewind f.bytes.sort #=> [101, 104, 108, 108, 111] @overload bytes @return [Enumerator]:@ref_tags[ : @tags[o:YARD::Tags::OverloadTag ; u; IO#bytes;;;IC; "