Ruby For Programmers

The essentials of Ruby programming – without the waffle!
4.7 (75 ratings)
Instead of using a simple lifetime average, Udemy calculates a
course's star rating by considering a number of different factors
such as the number of ratings, the age of ratings, and the
likelihood of fraudulent ratings.
780 students enrolled
73% off
Take This Course
  • Lectures 21
  • Length 2.5 hours
  • Skill Level Intermediate Level
  • Languages English
  • Includes Lifetime access
    30 day money back guarantee!
    Available on iOS and Android
    Certificate of Completion
Wishlisted Wishlist

How taking a course works


Find online courses made by experts from around the world.


Take your courses with you and learn anywhere, anytime.


Learn and practice real-world skills and achieve your goals.

About This Course

Published 3/2015 English

Course Description

This course is a fast introduction to the Ruby language for experienced programmers.

Maybe you are already a programmer (in some other language such as Java, C or Python) so you don't need a Ruby course that wastes time on telling you how programs work. This course gets straight down to business. It tells you what Ruby is all about, what makes it similar to other languages - and what makes it different. It explains the stuff you really need to know. It won't bog you down by trying to describe every gnarly little corner of the language. It concentrates on the essentials - with no unnecessary padding. If you need to get to grips with Ruby fast, this is the course for you.

Or maybe you've already learnt the basics of Ruby and you are looking for a quick way to revise your knowledge. With its video tutorials downloadable 'cheat-sheets' and interactive quizzes, Ruby For Programmers focuses on the most important features of Ruby and puts your knowledge to the test.

The course instructor Huw Collingbourne is the author of The Book Of Ruby. Huw has already taught over 22,000 people to program on Udemy.

Ruby is a cross-platform, object-oriented language. Ruby can not only be used for writing standalone programs but it can also be used for creating dynamic web sites thanks to web frameworks such as Rails. If you are already an experienced programmer in some other language, or if you've started learning Ruby and you need a clear, simple way to revise your knowledge, Ruby For Programmers is course for you.

What are the requirements?

  • None (But a free Ruby interpreter and editor are required if you want to do hands-on Ruby coding)

What am I going to get from this course?

  • Learn the essentials of Ruby programming
  • Identify Ruby’s strengths and weaknesses
  • Know How Ruby’s Object Orientation works
  • Understand key features of Ruby: modules, mixins, arrays, hashes, loops, blocks and IO

Who is the target audience?

  • Programmers with experience of some other language such as Python, C or Java who want to learn the essentials of Ruby quickly
  • Ruby learners – maybe you already know some Ruby and you want to revise or extend your knowledge
  • Non-programmers who need to work with Ruby developers and understand the basics

What you get with this course?

Not for you? No problem.
30 day money back guarantee.

Forever yours.
Lifetime access.

Learn on the go.
Desktop, iOS and Android.

Get rewarded.
Certificate of completion.


Section 1: Ruby Fundamentals

Who is this course for and what will you learn?


What sort of language is Ruby? In this lesson you will learn the strengths of Ruby – and its weaknesses. You'll get a quick overview of both the Ruby language and the Ruby On Rails web framework.

2 pages

Where to find Ruby interpreters, editors, documentation and tutorials. (Download from the Resources page)


Any program that works with user input/output or does any text-file processing needs to be able to deal with strings. This lesson explains the basics of Ruby string handling.

2 pages

A quick guide to the basics of Ruby strings. (Download from the Resources page)

3 questions

This quiz tests your understanding of some fundamentals of Ruby

Section 2: Object Orientation

How to create classes , add constructors, initialize data and call methods in a superclass.


Learn how to add class variables that can be used by all the objects created from a class definition, and class methods that can be run without having to create an instance of a class.

2 pages

A quick guide to writing classes and creating objects. (Download from the Resources page)

3 questions

The basics of Ruby classes and objects

Section 3: Modules and Attributes

Attributes are the Ruby equivalents of what many other languages call 'properties' – they provide a convenient way of accessing variables in an object using getter and setter methods.


Ruby provides the ability to create modules of code for easy reuse. Modules can be 'mixed in' to classes to provide those classes with methods and constants.

3 pages

A fast overview of Ruby Modules and attributes. (Download from the Resources page)

3 questions

Ruby code modules and the attributes of Ruby objects

Section 4: Arrays and Hashes

Ruby arrays are objects capable of storing and manipulating sequential collections of other objects. This video explains the basics.


Hashes are collections of key-value pairs, similar to Dictionaries or 'associative arrays' in some other languages. This lesson explains how to use Ruby hashes.

2 pages

Arrays are sequential lists; Hashes are collections of key-value pairs. (Download from the Resources page)

3 questions

Sequential lists and key-value pairs in Ruby

Section 5: Loops and iterators

If you want to execute code a fixed number of times or process the items in a collection such as an array or a hash, you'll need loops and iterators. This lesson explains the basics.


Ruby has several ways of running code inside loops. Here we look at while, until and loop loops.

3 pages

How to run loops using for, each, while and until (Download from the Resources page)

3 questions

Doing the same thing over and over again…

Section 6: Blocks and Files

Blocks play an important role in Ruby programming – but they can be quite mystifying at the outset. This lesson cuts through the mystery to show how blocks, procs and lambdas are used.


This lesson looks at some important Ruby file-handling classes and methods.

3 pages

Blocks are often used as iterators and may be used in file-handling. (Download from the Resources page)

3 questions

Ruby 'blocks' are special – and they can also be used to handle IO (Input/Output).

10 questions

A quick roundup of some of the topics in this course<o:p></o:p>


Congratulations on finishing the course! Now it's time to move on…

Students Who Viewed This Course Also Viewed

  • Loading
  • Loading
  • Loading

Instructor Biography

Huw Collingbourne, Director of Technology, SapphireSteel Software

Huw Collingbourne is the technology director at SapphireSteel Software, developers of the “Sapphire” Ruby IDE for Visual Studio and the “Amethyst” IDE for the Adobe Flash Platform. He is author of The Book Of Ruby from No Starch Press. He runs Bitwise Courses and teaches courses on a range of programming topics.

Huw has been a programmer for more than 30 years. He is a well-known technology writer in the UK. For over ten years he wrote the Delphi and Java programming column for PC Plus Magazine. He has also written numerous opinion and programming columns (including tutorials on C#, Smalltalk, ActionScript and Ruby) for a number of computer magazines, such as Computer Shopper, Flash & Flex Developer’s Magazine, PC Pro, and PC Plus. He is the author of the free ebook The Little Book of Ruby and is the editor of the online computing magazine Bitwise.

In the 1980s he was a pop music journalist and interviewed most of the New Romantic stars, such as Duran Duran, Spandau Ballet, Adam Ant, Boy George, and Depeche Mode. He is now writing a series of New Romantic murder mysteries.

At various times Huw has been a magazine publisher, editor, and TV broadcaster. He has an MA in English from the University of Cambridge and holds a 2nd dan black belt in aikido, a martial art which he teaches in North Devon, UK. The aikido comes in useful when trying (usually unsuccessfully) to keep his Pyrenean Mountain Dogs under some semblance of control.

Ready to start learning?
Take This Course