To get Ruby . 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
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.
Tags: gnu, Linux, Ruby, Windows
This entry was posted
on Tuesday, July 28th, 2009 at 1:57 pm and is filed under Ruby.
You can follow any responses to this entry through the RSS 2.0 feed.
You can leave a response, or trackback from your own site.