
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.
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.
A quick guide to the basics of Ruby strings. (Download from the Resources page)
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.
A quick guide to writing classes and creating objects. (Download from the Resources page)
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.
A fast overview of Ruby Modules and attributes. (Download from the Resources page)
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.
Arrays are sequential lists; Hashes are collections of key-value pairs. (Download from the Resources page)
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.
How to run loops using for, each, while and until (Download from the Resources page)
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.
Blocks are often used as iterators and may be used in file-handling. (Download from the Resources page)
Congratulations on finishing the course! Now it's time to move on…
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.