You can add it to 1.8 simply by defining it. Ruby 1.8.5/6 was released
almost seven years ago. It was a much different language then. Some of the
block scoping paradigms have changed. What's a more interesting is why
later rubies don't support legacy syntax as these "bugs" were fixed.


On Fri, Oct 4, 2013 at 6:04 PM, Dave Hwong <lists / ruby-forum.com> wrote:

> Okay, when I moved to Ruby1.9.x the issue disappeared.
>
> Why did Ruby1.8.6 not support this syntax?
>
> --
> Posted via http://www.ruby-forum.com/.
>