|
Définition
|
Ruby |
np. m.
[LANG] langage à objets conçu pour être simple et performant, créé en 1993 par Yukihiro Matsumoto et ayant un gros succès au Japon, car il peut être utilisé dans de nombreux domaines, y compris comme langage de script. Exemple de code, extrait de la FAQ Ruby :
class Person attr_accessor :name, :age def initialize(name, age) @name = name @age = age.to_i end def inspect "#@name (#@age)" end end p1 = Person.new('elmo', 4) p2 = Person.new('zoe', 7) p1 # -> elmo (4) p2 # -> zoe (7)
Le nom a été inspiré par Perl, « matz » ayant voulu produire un joyau.
http://www.ruby-lang.org
Article lié à celui-ci :
langage (chronologie)
Articles voisins :
RTTI - RTTY - ru
- ruban bleu - ruban encreur
- rumorazzi - runlevel - runoff - run-only - runtime
|
Autres
mots : |
| |
|
| [ 0-9 ] |
[ . ] |
[ / ] |
[ * ] |
| [ A ] |
[ B ] |
[ C ] |
[ D ] |
| [ E ] |
[ F ] |
[ G ] |
[ H ] |
| [ I ] |
[ J ] |
[ K ] |
[ L ] |
| [ M ] |
[ N ] |
[ O ] |
[ P ] |
| [ Q ] |
[ R ] |
[ S ] |
[ T ] |
| [ U ] |
[ V ] |
[ W ] |
[ X ] |
| [ Y ] |
[ Z ] |
|
|
|