Specials
 
 
CANARYWOOD tropical wood raw hardwood chunk piece Centrolobium microchaete 8 grams orange brown
 CANARYWOOD tropical wood raw hardwood chunk piece Centrolobium microchaete 8 grams orange brown 
 
MIXED rough Gems in a Bottle gemstones jar Crafts decorative knick knack display show case Nice 1
 MIXED Gems in a Bottle jar Crafts decorative knick knack display show case Nice 1 
 
Honey Orchid CALCITE gemstone bottle rough Gems in a Bottle gem stones jar Craft samples very nice 1
 Honey Orchid CALCITE bottle Gems in a Bottle jar Craft samples very nice 1 
 
Red AGATE rough Gems in a Bottle gemstone jar Craft decorative knick knack patterned nice 1
 Red AGATE Gems in a Bottle jar Craft decorative knick knack patterned nice 1 
 
LEADWOOD tropical wood raw hardwood chunk piece Combretum imberbe 8 grams brown very nice
 LEADWOOD tropical wood raw hardwood chunk piece Combretum imberbe 8 grams brown very nice 
 
Office Supplies ~~ Buy Posters ~~ A-Z Products ~~ Website Advertising


Ruby programming language - Wikipedia

<<Up     Contents

Ruby programming language

Redirected from Ruby language

Ruby is an object-oriented interpreted programming language with clean syntax. It has its roots in Perl, Smalltalk, Python, Lisp and CLU, with Perl being the most important one.

Ruby language features:

Ruby is purely object-oriented: every bit of data is an object, even basic types. Every function is a method. This is similar to Smalltalk but unlike Java and Python. With a few exceptions, every name (variable) in a Ruby program holds a reference to an object, not the object itself.

The language was created by Yukihiro Matsumoto on February 24, 1993. The current stable version is 1.6.8. Note that the name is not an acronym--it is actually a pun on Perl. According to the author, he designed Ruby to follow the principle of least surprise (POLS), meaning that the language should be free from the traps and inconsistencies that plague other languages.

Here is a sample of Ruby code:

   # Execute the following block of code 10 times
   10.times {
      string1 = "Hello world".gsub(" ", ",") # Replace ' ' with ', ' and store in  string1
      string1 += "!"                         # append "!" to variable 'string1'
      puts string1                           # print variable 'string1', followed by a newline
   }

More Ruby code is available in form of sample algorithm implementations in the articles:

External links

wikipedia.org dumped 2003-03-17 with terodump




 
 
CANARYWOOD tropical wood raw hardwood chunk piece Centrolobium microchaete 8 grams orange brown
 CANARYWOOD tropical wood raw hardwood chunk piece Centrolobium microchaete 8 grams orange brown 
 
MIXED rough Gems in a Bottle gemstones jar Crafts decorative knick knack display show case Nice 1
 MIXED Gems in a Bottle jar Crafts decorative knick knack display show case Nice 1 
 
Honey Orchid CALCITE gemstone bottle rough Gems in a Bottle gem stones jar Craft samples very nice 1
 Honey Orchid CALCITE bottle Gems in a Bottle jar Craft samples very nice 1 
 
Red AGATE rough Gems in a Bottle gemstone jar Craft decorative knick knack patterned nice 1
 Red AGATE Gems in a Bottle jar Craft decorative knick knack patterned nice 1 
 
LEADWOOD tropical wood raw hardwood chunk piece Combretum imberbe 8 grams brown very nice
 LEADWOOD tropical wood raw hardwood chunk piece Combretum imberbe 8 grams brown very nice