ts wrote:
>>>>>> "D" == Daniel Schierbeck <daniel.schierbeck / gmail.com> writes:
> 
> D> I hope you can give me a hint of what the best practice is.
> 
>  I don't know what is the best practice but you can ask ruby
> 
> moulon% ruby -e 'a = [1, 2]; b = a.to_a; p a.object_id==b.object_id'
> true
> moulon% 
> 
> moulon% ruby -e 'a = "12"; b = a.to_s; p a.object_id==b.object_id'
> true
> moulon% 
> 
> 
> 
> Guy Decoux

Sweet! Thanks!


Cheers,
Daniel