Treffer: Introduction to Ruby.

Title:
Introduction to Ruby.
Source:
Linux Journal. Jul2006, Issue 147, p46-51. 5p.
Database:
Business Source Premier

Weitere Informationen

The article provides information on the basics of the Ruby programming language. The Ruby language exists as an executable called ruby which can be run manually by typing it on the command line. The interactive Ruby shell or irb, takes input from a user and executes it. Ruby allows the programmer to assign values to variables without pre-declaring them. It allows the interpolation of values inside of double-quoted strings. The language has built-in arrays and hashes. An array can be created with square brackets and can contain any number of objects.