Introduction to Ruby Programming
What to expect -
Learn some basic ideas, basic commands, and to develop small programs. Also gain some confidence in developing mini-projects.
What not to expect -
Mastering a whole new object-oriented programming language
what is ruby and what can it be used for?
Ruby is popularly used for database-driven web development
Some useful websites on Ruby
https://www.rubyforge.org
https://www.ruby-lang.org
https://www.ruby-doc.org
https://www.rubygems.org
https://www.rubycentral.com
https://www.regular-expressions.info/ruby.html
https://www.zenspider.com/Languages/Ruby/QuickRef.html
https://www.openqa.org/watir/
https://www.rubygarden.org/ruby?WebTestingWithRuby
Book Reference
Programming Ruby
The Pragmatic Programmer's Guide, Second Edition
Dave Thomas, with Chad Fowler and Andy Hunt
Pages: 864
ISBN: 0-9745140-5-5
Two ways to run ruby programs
In the command prompt [open the x-terminal window]
$ruby filename.rb
Or
Invoke an interactive ruby shell like "irb"
$irb
>> [type commands here]
In Windows you can open "fxri" - an interactive ruby shell and help window together
->Programs ---> Ruby... ---> fxri [a bit slow to load, be patient]
Ruby as a Scripting Language
Some Buzz words
in Ruby Object Oriented Programming
Classes objects instances inheritance
access module library method
and in Applications
RubyGems, SciTE, Watir, Rails, mySQL, Apache, Client-Server, irb fxri
Go to ruby-page 4 ... Back to ruby-page 2 ... Starting page 1