On Sun, Jan 20, 2013 at 9:44 PM, David Richards <[email protected]> wrote:
> Dave Aronson wrote in post #1092970:
>
>> My SWAG would be that autoconcatenation takes place at the parser level.
>
> That makes sense. I'll accept that on 'faith' until I gain a deeper
> understanding of Ruby.
Probably the best thing to achieve what you wanted initially is this:
s = "[#{9}]"
Where "9" can be any expression really.
Kind regards
robert
--
remember.guy do |as, often| as.you_can - without end
http://blog.rubybestpractices.com/
--
[email protected] |
https://groups.google.com/d/forum/ruby-talk-google?hl=en