%PDF- %PDF-
Direktori : /proc/self/root/opt/cpanel/ea-ruby24/root/usr/share/ri/system/IO/ |
Current File : //proc/self/root/opt/cpanel/ea-ruby24/root/usr/share/ri/system/IO/ungetc-i.ri |
U:RDoc::AnyMethod[iI"ungetc:ETI"IO#ungetc;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [ I"JPushes back one character (passed as a parameter) onto <em>ios</em>, ;TI"Wsuch that a subsequent buffered character read will return it. Only one character ;TI"Emay be pushed back before a subsequent read operation (that is, ;TI"Xyou will be able to read only the last of several characters that have been pushed ;TI"Rback). Has no effect with unbuffered reads (such as <code>IO#sysread</code>).;To:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim; [ I"5f = File.new("testfile") #=> #<File:testfile> ;TI"(c = f.getc #=> "8" ;TI"(f.ungetc(c) #=> nil ;TI"'f.getc #=> "8";T:@format0: @fileI" io.c;T:0@omit_headings_from_table_of_contents_below0I"!ios.ungetc(string) -> nil ;T0[ I" (p1);T@FI"IO;TcRDoc::NormalClass00