ÿØÿà JFIF    ÿÛ „ ( %!1!%*+...983,7(-.- U:RDoc::AnyMethod[iI" ungetc:ETI"IO#ungetc;TF: privateo:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [ I"GPushes back characters (passed as a parameter) onto ios, ;TI":such that a subsequent buffered read will return it. ;TI"KIt is only guaranteed to support a single byte, and only if ungetbyte ;TI"Nor ungetc has not already been called on ios since the previous ;TI"7read of at least a single byte from ios. ;TI"GHowever, it can support additional bytes if there is space in the ;TI"%internal buffer to allow for it.;To:RDoc::Markup::BlankLineo:RDoc::Markup::Verbatim; [ I"5f = File.new("testfile") #=> # ;TI"(c = f.getc #=> "8" ;TI"(f.ungetc(c) #=> nil ;TI"(f.getc #=> "8" ;T: @format0o; ; [I"NIf given an integer, the integer must represent a valid codepoint in the ;TI"'external encoding of ios.;T@o; ; [I"MCalling this method prepends to the existing buffer, even if the method ;TI"(has already been called previously:;T@o; ; [ I"5f = File.new("testfile") #=> # ;TI"(f.ungetc("ab") #=> nil ;TI"(f.ungetc("cd") #=> nil ;TI",f.read(5) #=> "cdab8" ;T; 0o; ; [I">Has no effect with unbuffered reads (such as IO#sysread).;T: @fileI" io.c;T:0@omit_headings_from_table_of_contents_below0I"=ios.ungetc(integer) -> nil ios.ungetc(string) -> nil ;T0[I" (p1);T@,FI"IO;TcRDoc::NormalClass00