Too Cool for Internet Explorer

Saturday, December 22, 2007

Ruby Christmas and New Year best wishes

From: Me

To: You

Cc: All

We can find hope on unexpected places…

We just need to want to.

And here is my last code of the year:

2 comments:

Marcos Ricardo said...

Here is the Christmas code:

class Forest
FOREST_NAME = 'Amazon '
def is_dying?
true
end
end
my_forest = Forest.new
message = ''
unless not my_forest.is_dying?
christmas_wishes = '%s forest deserves: ' % Forest::FOREST_NAME
2008.times { message << christmas_wishes + "#{:CARE.to_s};\n" }
end
puts message

Anonymous said...

Nice blog
Regards,
Joseph
http://db2examples.googlepages.com/