Hello,
Does Ruby have an syntactical sweetness to set $_ for a specific (aka
current) scope? In Perl I would do
for ($foo) {
/argh/ and cry();
/help/ and help();
}
Of course I could always assign to $_, but would this assignment be
local to the current scope?
Regards,
Renald