Tutorial - Ruby - Hello World!


Coding Friends Tutorial Index - > Ruby

Author Ian - Tutorial Posts = 62
To get Ruby http://www.rubyonrails.org/down. Ruby is a development environment that is similar to other Object Oriented (OO) languages, but it is designed to be developed in quickly with a stable environment. Ruby can be used to create GUI's to websites very quickly.

This first source code is the very basic Hello word!.

If you save this code
---
puts "Hello World";
---
as rubyhelloworld.rb

The file extension rb just stands for Ruby. To run the code from the command line, where you have saved the file above
ruby rubyhelloworld.rb
and the output will be
Hello World

Hope that helps people.
Creation of cool tutorials :)
User Name Password
Copyright@CodingFriends, 2005-2006. All Rights Reserved.
Home | Forums | Tutorials | Users
RSS Feeds - Global Global CodingFriends RSS Feed - Tutorials Tutorials CodingFriends RSS Feed - Forums Forums CodingFriends RSS Feed - News News CodingFriends RSS Feed
Users
Login|Password problem| Register here

Tutorials
Tutorials Home| C/C++| C#/Mono| Java| Javascript| PHP| Ruby| SQL| (X)HTML/CSS| VB| Linux| Windows

Forum
Forum Home

Projects
3D Game

Site
Home| About me| Links| FAQ

Search