
Ruby is a programming language (♦ see DEF) multiplatform and object oriented, created in 1995.
Ruby allows you to create, among other things, App. and websites, softwares and even games.
Code Examples
→ Let's start with very simple codes. The more you progress, page after page, the more sophisticated the scripts will be. However, you must go over 30 to 40 pages per level, before moving on to the next step...
→ In order to evaluate your codes, click on the icon on the left at the bottom of the page (gears), then choose a compiler from the list that will be open in another tab. Finally, test your work.
NOW REPRODUCE AND IMMERSE YOURSELF!
C 0001 - Hello World !
print "Hello World !\n" print "Bye bye World !\n"or
puts "Hello World !"
C 0002 - Repeat A Word
5.times do puts "Hello !" end
C 0003 - Types Of Information
time1 = Time.new puts "Hour:" + time1.inspect time2 = Time.now puts "Hour:" + time2.inspect
C 0004 - String
name1 = "Julian" name2 = "Mary" puts "Voici #{name1} and #{name2}."

CHOOSE YOUR COMPILER
Reproduce this code, choosing one of the compilers below (♦ see DEF) (don't copy-paste! It would be too easy). They have the same function, just pick up one according to your preferences.
When you copy your code, replace the existing code (by default) with your own.
Warning ! For some of these compilers, you might have to choose the programming language yourself, in a specific menu which is offered to you. Of course, don't forget to click on RUN !
Ruby Technical Specifications
Info+ (Ruby)
* Created by Yukihiro Matsumoto
* Developed by Contributors
* Written in C
* Cross-platform
* Ruby / GNU licenses
Tools+ (Ruby)
Practical Cases
CASE 1
BASIC LEVEL
Preparing a working environment
These recommendations will get you started with Ruby, as comfortably as possible.
CASE 2
ADVANCED LEVEL
Create a Web App.
This little kit will allow you to design an Web App. in the field of online car sales.
CASE 3
News
- Ruby
- Hits: 326