21 Jan 2011 waterbiscuit   » (Observer)

<<<<<<<<<<<<<<<<< Ruby Scripting <<<<<<<<<<<<<<<<<<

1. save to HelloWorld.rb file
# Hello world ruby program
puts "Hello World!";

2. run command to < ruby helloworld.rb >

3. mode change < chmod u+x HelloWorld.rb >
run command to < ruby helloworld.rb >

4. command interpreting command (no backtick )
< ruby -e ' puts "Hello World" ' >

5. an interactive command-line interpreter command
< irb >

Latest blog entries     Older blog entries

New Advogato Features

New HTML Parser: The long-awaited libxml2 based HTML parser code is live. It needs further work but already handles most markup better than the original parser.

Keep up with the latest Advogato features by reading the Advogato status blog.

If you're a C programmer with some spare time, take a look at the mod_virgule project page and help us with one of the tasks on the ToDo list!