Home
Ruby
ActiveRecord
Array
CGI
Class
Collections
Database
Date
Design Patterns
Development
File Directory
GUI
Hash
Language Basics
Method
Network
Number
Rails
Range
Reflection
Statement
String
Threads
Time
Tk
Unit Test
Windows Platform
XML
Ruby Commandline « Language Basics « Ruby
Ruby
Language Basics
Ruby Commandline
1.
type a command to check the version of Ruby (this works on Unix/Linux and Windows):
2.
create a basic Ruby script called debugtest.rb:
3.
Running the Ruby Interpreter