Ruby

download Ruby

If you can't read please download the document

description

Short introduction to Ruby

Transcript of Ruby

  • 1. Ruby
    • Einfhrung
  • Eigenschaften
  • Einsatzzwecke

2. Einfhrung

  • 1995 von Yukihiro Matsumoto entwickelt
  • Aktuelle Version: 1.8.7 (vom 31. Mai 2008)
  • Name als Anspielung auf Perl
  • Ab 2000 Verbreitung auch auerhalb Japans

3. Eigenschaften

  • Vollstndig Objektorientiert
  • Einfache Syntax
    • 5.times { print "hello" }
    • puts "xnorfz".upcase
    • 3.times do puts ybur.reverse end
  • Dynamische Typbindung
  • Verfgbar unter der GPL
  • Plattformunabhngig

4. Einsatzzwecke

  • Ruby on Rails
    • bekanntestes MVC-Framework fr Webentwicklung
  • Eingebettete Scriptsprache in z.B. Java
  • Kleinere GUI-Programme mit z.B. Gtk2