Mike Harris wrote:
> Paul Lutus wrote:
> 
>>>     f = f.to_s
>>2. I ran your code without error, Ruby 1.8.4. Are you sure you posted the
>>same code you are testing?
>>
>>
>>  
>>
> Why use gsub! at all?
> 
> ARGV.each do |f|
>   puts f.gsub(/-/, "..")
> end

Thanks. Yeh, I can do a "puts," but, I can't just change the silly hypen 
to 2 range dots. I get the frozen string error.

-- 
Posted via http://www.ruby-forum.com/.