Posts Tagged Ruby Program
Starting Ruby programming
Posted by in Ruby on September 12th, 2009
Ruby is an object-oriented scripting languages.
Here are steps to do Ruby programming:
- Download the Ruby package here.
- Install the package.
To start your first Ruby script, right click your desktop, and add New “Ruby Program“. Give the file .rb extension. Right click the file and click Edit. Copy this code to the file:
#!/usr/bin/env rubyputs “Hello world!”
gets # This will pause, and wait for user press enter.
gets # This will pause, and wait for user press enter.









