From: Gavin Sinclair Date: 2002-12-11T07:43:23+09:00 Subject: Re: Newbie questions regarding putc... From: > > Reading my nway through the pickaxe book. Saw this code on page 108: > aFile = File.new("data.dat") > aFile.each_byte {|ch| putc ch; putc ?.} > > I'm not following what this does, can anyone help me out? > putc ?. > > Thanks very much! Be sure to check the FAQ - there's a question on strange symbols in Ruby code, which will answer your future questions before you even ask them :) Gavin