Ruby

Introduction

Ruby is a dynamic, reflective, object-oriented, general-purpose programming language. It was designed and developed in the mid-1990s by Yukihiro "Matz" Matsumoto in Japan.

According to its authors, Ruby was influenced by Perl, Smalltalk, Eiffel, Ada, and Lisp. It supports multiple programming paradigms, including functional, object-oriented, and imperative. It also has a dynamic type system and automatic memory management.

Usage

OS and Processor Invocation Version(s)
Red Hat Linux (64-bit) % /util/bin/erb
% /util/bin/gem
% /util/bin/irb
% /util/bin/rake
% /util/bin/rdoc
% /util/bin/ri
% /util/bin/ruby filename.rb
% /util/bin/testrb
2.1.2 (default)

Notes

  1. Interactive Ruby version:
    
    % irb --version
    irb 0.9.5(05/04/13)
    
    
  2. Quit Interactive Ruby (irb) with:
    
    % irb(main):001:0> quit
    
    

People

  1. Carl Alphonce, Instructor.
  2. Stuart Shapiro, Instructor.

References

  1. http://en.wikipedia.org/wiki/Ruby_%28programming_language%29
  2. http://www.ruby-lang.org

AttachmentSize
HelloWorld.rb101 bytes
echo.rb604 bytes