Ruby (programming language): Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Alex Bravo
(WP intro + Hello World example + focus)
 
imported>Alex Bravo
mNo edit summary
Line 2: Line 2:
==Syntax==
==Syntax==


===Hello world===
===Hello World===


  puts "Hello, world!"
  puts "Hello, world!"
==External links==
*[http://www.ruby-lang.org/ Ruby Programming Language] Homepage
[[Category:CZ Live]]
[[Category:Computers Workgroup]]

Revision as of 13:33, 25 February 2007

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!"

External links