[lnkForumImage]
TotalShareware - Download Free Software

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


 

Forums >

comp.lang.ruby

Happy New Year

Benjamin Stiglitz

1/1/2006 2:03:00 AM

Since no one's said it:

>> Year.new.happy!
=> #<Year:2006 @happy=true>
>> Year.new.happy?
=> true

Best wishes to all of you and your families, and may we all enjoy
more of Ruby!

-Ben


8 Answers

james_b

1/1/2006 2:46:00 AM

0

Benjamin Stiglitz wrote:
> Since no one's said it:
>
> >> Year.new.happy!
> => #<Year:2006 @happy=true>
> >> Year.new.happy?
> => true
>
> Best wishes to all of you and your families, and may we all enjoy more
> of Ruby!

Thanks! Same to you and yours, and to all hackers everywhere.

Even those who don't use Ruby.

:)


James (~4 hours from next year)


--

http://www.ru... - Ruby Help & Documentation
http://www.artima.c... - Ruby Code & Style: Writers wanted
http://www.rub... - The Ruby Store for Ruby Stuff
http://www.jame... - Playing with Better Toys
http://www.30seco... - Building Better Tools


J. Ryan Sobol

1/1/2006 4:38:00 AM

0

On Dec 31, 2005, at 9:45 PM, James Britt wrote:

> Benjamin Stiglitz wrote:
>> Since no one's said it:
>> >> Year.new.happy!
>> => #<Year:2006 @happy=true>
>> >> Year.new.happy?
>> => true
>> Best wishes to all of you and your families, and may we all enjoy
>> more of Ruby!
>
> Thanks! Same to you and yours, and to all hackers everywhere.
>
> Even those who don't use Ruby.
>
> :)
>
>
> James (~4 hours from next year)
>
>
> --
>
> http://www.ru... - Ruby Help & Documentation
> http://www.artima.c... - Ruby Code & Style: Writers wanted
> http://www.rub... - The Ruby Store for Ruby Stuff
> http://www.jame... - Playing with Better Toys
> http://www.30seco... - Building Better Tools
>

(1..10).to_a.reverse.each do | sec |
puts sec
puts 'Happy New Year!' if sec == 1
end

> Thanks! Same to you and yours, and to all hackers everywhere.

Aye!

~ ryan ~


Gregory Brown

1/1/2006 5:05:00 AM

0

On 12/31/05, Benjamin Stiglitz <ben@tanjero.com> wrote:

> Best wishes to all of you and your families, and may we all enjoy
> more of Ruby!

Happy New Year all! (Just turned it here on the East Coast)


Obie Fernandez

1/1/2006 5:18:00 AM

0

Happy New Year everyone -- It's sure gonna be exciting times for all us
Rubyists!!!

Cheers,
Obie

On 1/1/06, Gregory Brown <gregory.t.brown@gmail.com> wrote:
>
> On 12/31/05, Benjamin Stiglitz <ben@tanjero.com> wrote:
>
> > Best wishes to all of you and your families, and may we all enjoy
> > more of Ruby!
>
> Happy New Year all! (Just turned it here on the East Coast)
>
>

Antonio Cangiano

1/1/2006 10:30:00 AM

0

Benjamin Stiglitz wrote:
> Since no one's said it:
>
> >> Year.new.happy!
> => #<Year:2006 @happy=true>
> >> Year.new.happy?
> => true
>
> Best wishes to all of you and your families, and may we all enjoy more
> of Ruby!

Thank you Benjamin.

Happy NEW YEAR everyone! ;-)

--
Antonio Cangiano
My Ruby blog: http://www.antonioca...

Antonio Cangiano

1/1/2006 10:32:00 AM

0

James Britt wrote:
> Even those who don't use Ruby.

Happy? Without Ruby? Impossible. (just kidding...) :-)

Cheers,
--
Antonio Cangiano
My Ruby blog: http://www.antonioca...

Christian Neukirchen

1/1/2006 2:56:00 PM

0

Benjamin Stiglitz <ben@tanjero.com> writes:

> Since no one's said it:
>
> >> Year.new.happy!
> => #<Year:2006 @happy=true>
> >> Year.new.happy?
> => true
>
> Best wishes to all of you and your families, and may we all enjoy
> more of Ruby!

Soon the evil GC will come and take you a Year. ;-)

> -Ben
--
Christian Neukirchen <chneukirchen@gmail.com> http://chneuk...


Benjamin Stiglitz

1/2/2006 5:26:00 AM

0

> Soon the evil GC will come and take you a Year. ;-)

I always disable GC before making statements using code!

-Ben