[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Re: Struggling with variable arguments to block

Michael Campbell

10/24/2003 7:42:00 PM

Ben Giddings wrote:

> irb(main):001:0> *a = 1,2
> [1, 2]
> irb(main):002:0> *a = [1,2]
> [1, 2]
> irb(main):003:0> *a = [[1,2]]
> [[[1, 2]]]
> irb(main):006:0> RUBY_RELEASE_DATE
> "2003-08-04"
> irb(main):007:0> RUBY_VERSION
> "1.8.0"
>
> This is using an RPM ruby binary versioned: ruby-1.8.0-1


I get the same result as ben with a windows cygwin compiled version,
both run as a script and with irb, and with Andy's windows installer
(again, both irb and as a script).



__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping...

1 Answer

:))

8/25/2010 1:05:00 PM

0

On Wed, 25 Aug 2010 14:45:04 -0700 (PDT), tuna <tuna2@nz11.com> wrote:

>
>O^ng BS tui noa'i la` cha('c bi. " A le.c ri" ca'i gi` ddo'
>Nhu+ng tui nghi~ la` Dr. Tri' tra? lo+`i ddu'ng ho+n, vi` cha^'t
>ddo^.c dda~ to^'ng qua da
>Hy vo.ng tui kho^ng bi. che^'t vi` ma^'y ca'i mu.t ngu+'a na`y :)))
>
>Ca'm o+n Doc
>
>tuna,
-----------------------------------------------------------------------------------------------------------------------------------
No'i to'm la.i la` gan ma^.t cu~ng ddang ti`nh tra.ng ho*i bi. suy
nhu*o*.c. -- Kho^ng tie^u ho'a no^?i cha^'t nhu*.a cu?a tra'i ddu ddu?
va` nhie^`u khi ca' bie^?n cu~ng ra^'t ddo^.c, bi. nhie^~m BP
Oil...va` ky. mo^.t so^' ngu*o*`i, v.v...

:-))))

Uo^'ng thuo^'c, nu*o*'c la.nh va` canberry juices dde^`u va` thu*o*`ng
xuye^n se~ mau he^'t be^.nh va` lo.c sa.n ma^.t & bao tu*?, va^n
va^n... va` kho^ng kho' i....bi. lo`i dzom nhu* LNP....

Gu't la^'c & Gu't Heo ! ;-)