ºî¼Ô: WATANABE Hirofumi
Æü»þ: 2005/2/21(23:05)
$B$o$?$J$Y$G$9!#(B

Bruce. <kbk@...> writes:

> irb(main):045:0> printf '%d/%d/%d', (lambda{|*x| return
> x[0],x[1],x[2]}.call(Time.new.year, Time.new.month, Time.new.day))
> TypeError: cannot convert Values into Integer
>         from (irb):45:in `printf'
>         from (irb):45
>         from :0
> 
> $B$3$3$G$D$^$E$/!#(B

$B$^$"!"$3$l$@$1$J$i(B
  printf '%d/%d/%d', *(lambda{|*x| return x[0],x[1],x[2]}.call(Time.new.year, Time.new.month, Time.new.day))
$B$N$h$&$K(B*$B$r;H$($P$$$$$@$1$N$h$&$J!#(B

$B!t$J$s$+$N%3%s%F%9%H$@$m$&$+!)(B
-- 
$B$o$?$J$Y$R$m$U$_(B