Main Content

Ruby Programming Course - Saturday and Sunday

Archive - Originally posted on "The Horse's Mouth" - 2008-11-16 08:26:42 - Graham Ellis

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 links to new Ruby examples added this morning, from yesterday's practicals:


A simple read - calculate - print example in Ruby

Common Ruby Pitfalls

Alternative ways of writing loops in Ruby

Loops and conditionals exercise

Sample class and test program showing common object features in Ruby

Counting events in a file using a Ruby hash

Embedding variables in strings in Ruby