On Wed, Aug 27, 2008 at 2:14 PM, Shlomi Fish <[EMAIL PROTECTED]> wrote:
> On Wednesday 27 August 2008, Ohad Lutzky wrote:
>> Ruby is a dynamic, open source programming language with a focus on
>> simplicity and productivity. It has an elegant syntax that is natural
>> to read and easy to write.
>>
>> Hello world in ruby is:
>>
>> print "Hello World!"
>>
>
> Actually, that will print "Hello World!" without the newline. If you want the
> newline, you need either:
>
> {{{{{{{{
> print "Hello World!\n"
> }}}}}}}}
>
> Or:
>
> {{{{{
> puts "Hello World!"
> }}}}}That is of course, correct. Whoops :) -- Man is the only animal that laughs and weeps, for he is the only animal that is struck with the difference between what things are and what they ought to be. - William Hazlitt Ohad Lutzky _______________________________________________ Haifux mailing list [email protected] http://hamakor.org.il/cgi-bin/mailman/listinfo/haifux
