Yield :k=>:v, *[]

yield :k=>:v, *[] e$B$H$$$&5-=R$,!"e(B1.8 e$B$G$O5v$5$l$F$$$^$7$?$,e(B
1.9 e$B$Ge(B syntax error e$B$K$J$k$h$&$G$9!#e(B

% ./ruby -vce ‘yield :k=>:v, *[]’
ruby 1.9.0 (2007-07-06 patchlevel 0) [i686-linux]
-e:1: syntax error, unexpected tSTAR
yield :k=>:v, *[]
^
-e:1: syntax error, unexpected ‘\n’, expecting tCOLON2 or ‘[’ or ‘.’

% ruby-1.8 -vce ‘yield :k=>:v, *[]’
ruby 1.8.6 (2007-07-02 patchlevel 5000) [i686-linux]
Syntax OK

e$B$^$D$b$He(B e$B$f$-$R$m$G$9e(B

In message “Re: [ruby-dev:31142] yield :k=>:v, *[]”
on Fri, 6 Jul 2007 14:30:31 +0900, Tanaka A. [email protected]
writes:

|yield :k=>:v, *[] e$B$H$$$&5-=R$,!"e(B1.8 e$B$G$O5v$5$l$F$$$^$7$?$,e(B
|1.9 e$B$Ge(B syntax error e$B$K$J$k$h$&$G$9!#e(B

e$B$O$$!#$3$l$Oe([email protected]$G$9!#E83+$7$?%O%C%7%e$O0lHV:G8ee(B
e$B$K$7$+CV$1$^$;$s!#e(B

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs