Ruby (programming language)

From Citizendium
Revision as of 13:31, 25 February 2007 by imported>Alex Bravo (WP intro + Hello World example + focus)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Ruby is a reflective, dynamic, object-oriented programming language. It combines syntax inspired by Perl with Smalltalk-like object-oriented features, and also shares some features with Python, Lisp, Dylan and CLU. Ruby is a single-pass interpreted language. It is focused on simplicity and productivity and has an easy to read and write syntax. Its main implementation is free software.

Syntax

Hello world

puts "Hello, world!"