Exercises, examples and other material relating to training module R101. This topic is presented on public courses Learning to program in Ruby
, Ruby Programming
Ruby is a modern, scripting Object Oriented language
that's rapidly growing in populatity. Taking many of the
best features of Perl and Python, adding its own exciting
extras, and used as the basis for Ruby on Rails ("RoR"),
we expect to be seeing a lot more Ruby in the next year
Related technical and longer articlesRuby Regular ExpressionsConditionals, loops, and iterators in Ruby
|Articles and tips on this subject||updated|
|1302||Ruby, Ruby, Ruby. Rails, Rails, Rails.|
We passed through New York on our way up from Washington DC to Albany, NY State; a 3-hour layover gave us a chance for a quick meal (there's no better city for a choice of foods), and a chance to look through a book store (there's no better country to look through the shelves for the next trend).
|2607||Answers on Ruby on Rails|
What is Ruby on Rails?
Ruby on Rails is a clever way of programming your web server in Ruby - it allows you to have data in databases on your website and provide very easy access tothat data through a browser, allowing your customers to see the data and you staff to see it, alter it, and add more data ...
|1375||Python v Ruby|
Ruby v Python ... I've been asked for a comparison!
• Both are object oriented scripting languages - or rather claim to be scripting languages, but are really compile-and-run via their own virtual machines, in just the same way as Perl and Java are.
• Both are modern, Open Source languages ...
|2286||New to programming? It is natural (but needless) for you to be nervous|
Yesterday, I ran the introductory day at the start of our Learning to Program in Ruby course.
Delegates come to us to learn a programming language with two different backgrounds - "I have programmed before in xxxxx and now I need to learn QWERTY" (the converters) and "what is this programming thing ...
|2287||Learning to program in Ruby - examples of the programming basics|
We so often overlook the basics of programming, and yet they are so fundamental to good code - understanding things like how widely variables can be seen (also known as variable scope), what happens when you divide two numbers (do you get a decimal result or is the remainder thrown away), and how do ...
|1887||Ruby Programming Course - Saturday and Sunday|
We're so busy during the week at the moment that I'm running an extra Ruby Course this weekend. The main use of Ruby is within "Ruby on Rails", but our course concentrates on the language itself and so it's suitable for people who are using RSpec, cucumber and Watir as well as Rails.
Here are some ...
|550||2006 - Making business a pleasure|
"Making Business a Pleasure" - a spoken logo for Well House Consultants for 2006.
Whether you're attending a course, staying as a guest at Well House Manor, working for us, or simply visiting our web site, we want you to enjoy the experience.
We don't know exactly what 2006 will bring, but we have ...
|1041||Learnt in London - Ruby, Martini, Coral and the Core|
We're only a fortnight into the new year yet, already, I've spent two fascinating and very different evenings in London meeting up with other users of our technologies and listening to visions for the future. Training is all about planning for the future ... and networking and learning about other's ...
|1027||Cue the music, I'm happy.|
I'm not musical ... but this song keeps jigging around in my head.
"I'm back in the saddle again.
Out where a friend is a friend,
where the longhorn cattle feed
on the lowly gypsum weed.
Back in the saddle again."
First course of the New Year ... done, run and I love it!
Lining up the systems to ...
|664||Ruby course - oops - it's not happening|
I spotted a 1 day Ruby conversion course - presented by one of the "movers and shakers" behind Ruby and Rails - over Easter. And in Europe rather than the USA or Japan too. Fabulous - I'm always keen to learn from the masters; time and money spent listening to the originators of Perl, PHP, MySQL and ...
Examples from our training material
|col1|| First Variables in Ruby|
|d2.1|| Prompt, read from user, calculate, output in Ruby|
|d2.2|| Use of intermediate variables|
|d2.3|| Use of intermediate variables - alternative|
|e1|| Simple input, calculate, print|
|hello.rb|| Some simple Ruby stuff|
Some modules are available for download
as a sample of our material or under an Open Training Notes License
for free download from http://www.training-notes.co.uk
Topics covered in this module
What is Ruby?
What is it used for?
Where do I get and install Ruby?
Core facilities, built-in library and standard library.
Basic concepts - object orientation, regular expressions, arrays, hashes, etc.
If you are looking for a complete course and not just a information on a single subject, visit our Listing and schedule
Well House Consultants specialise in training courses in
. We run
throughout the UK (and beyond for longer courses), and
at our training centre in Melksham, Wiltshire, England.
It's surprisingly cost effective to come on our public courses -
even if you live in a different
country or continent to us
We have a technical library of over 700 books on the subjects on which we teach.
These books are available for reference at our training centre. Also
available is the Opentalk
Forum for discussion of technical questions.