e$B!!$5$5$@$G$9!#e(B
e$B!!e(B:=
e$B$C$F%*%Z%l!<%?$C$F8@$o$J$$$N$+$J!#$h$/$o$+$i$J$$$s$G!"$b$70c$C$F$$e(B
e$B$?$i$h$jE,@Z$J8@$$J}$r65$($F$/$@$5$$!#e(B
e$B!!e(B[Ruby] local variables new scoping rule
e$B!!e(Bhttp://www.rubyist.net/~matz/20070112.html#p04
e$B$rFI$s$@$N$G$9$,!"e(B|foo; bar| e$B0J30$Ke(B :=
e$B$H$7$F%V%m%C%/%m!<%+%k$JJQ?t$r@ke(B
e$B8@$9$kJ}K!$rMQ0U$9$kI,MW@-$,$h$/$o$+$j$^$;$s$G$7$?!#e(B
e$B$7$+$7!"%V%m%C%/8BDj$N%m!<%+%kJQ?t$r;H$$$?$$6ILL$O8BDj$5$l$F$$j!"%O%Ue(B
e$B%^%s05=LE8+CO$+$i$O!"$h$jIQHK$K;H$o$l$kDL>o$N%m!<%+%kJQ?tE*;H$$J}$N$?$ae(B
e$B$K!"$$$A$$$A%V%m%C%/$NA0$KLa$C$F@k8@E*BeF~$,I,?$H8@$&$N$O$a$s$I$/$5$$!#e(B
e$B!!$&!<$s!"$=$&$J$s$G$9$+$M$’!#8BDj$5$l$?MQES$N$?$a$K!"e(B:=
e$B$H$$$&5-9f$,A}e(B
e$B$($k$[$&$,$a$s$I$/$5$$!J3P$($k$N$,!K$H;W$$$^$9!#e(B
e$B!!$"$H!"e(B
a = 1
iter{
a = 2
a := 3
a = 4
}
p a
e$B!!Nc$($P$3$N>l9g$C$F2?$,JV$k$s$G$7$g$&!#e(BJavaScripte$BE*$K$Oe(B1e$B!"e(BC++e$BE*$K$Oe(B2e$B!"e(B
e$BBg7j$Oe(B4e$B!#e(B