Method: Crypt::PureRubyStringIO#ungetc

Defined in:
lib/flatulent/crypt/purerubystringio.rb

#ungetc(integer) ⇒ Object



341
342
343
344
345
346
347
348
# File 'lib/flatulent/crypt/purerubystringio.rb', line 341

def ungetc(integer)
	requireWritable
	if @sio_pos > 0 then
		@sio_pos -= 1
		putc(integer)
		@sio_pos -= 1
	end
end