Sunday, December 27, 2009

STARTING OFF IN RUBY

MY FIRST RUBY PROGRAM !

Dabbling in python and its variants I came to try ruby ! The syntax is very similar to python.

Fig1. Ruby version 1.8.7

My first program was straight from the ruby website,

Fig2. Seen on Ruby website

The output was as desired !

Fig3. I love Ruby !


3 comments:

Luke Dunn said...

Ruby makes OO beautifully straightforward !

Arkapravo Bhaumik said...

Yeah ..... it it more elegant than Python

Micheal Alexander said...

Hello, an amazing Information dude. Thanks for sharing this nice information with us. Free spins