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 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)
This quiz tests your understanding of some fundamentals of Ruby
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)
The basics of Ruby classes and objects
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 code modules and the attributes of Ruby objects
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)
Sequential lists and key-value pairs in Ruby
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)
Doing the same thing over and over again…
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)
Ruby 'blocks' are special – and they can also be used to handle IO (Input/Output).
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…
Huw Collingbourne is the technology director at SapphireSteel Software, developers of programming tools for Microsoft Visual Studio. 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#, C++, Smalltalk and Ruby) for a number of computer magazines, such as Computer Shopper, PC Pro, and PC Plus.
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.