[Haifux] [lecture proposal] Ruby
Shlomi Fish
shlomif at iglu.org.il
Wed Aug 27 15:14:22 MSD 2008
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!"
}}}}}
Regards,
Shlomi Fish
> (or, alternatively, for interactive ruby, just "Hello World!")
>
> Anyone interested?
--
-----------------------------------------------------------------
Shlomi Fish http://www.shlomifish.org/
http://www.shlomifish.org/humour/ways_to_do_it.html
Shlomi, so what are you working on? Working on a new wiki about unit testing
fortunes in freecell? -- Ran Eilam
More information about the Haifux
mailing list