Sun Park wrote:
> Sorry, what I meant was :
> 
> a = "abc"
> => "abc"
> a (some method with arguments of 1 and "d")
> => "adc"
> 
> I wanted to find out are there any methods behaving like this.
> 
> 
> 
> 2007/6/3, Robert Dober <robert.dober / gmail.com>:

a = "abc"
a[1,1] = "d"
a # => "adc"
a[1] = ?b
a # => "abc"

Enjoy
Stefan

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