Ruby Programming for Beginners



Learn Ruby today!

Ruby is famous for being easy to learn but most users only scratch the surface of what it can do. While a typical Ruby tutorial or book focuses on Ruby's trendier features this course reveals the secret inner workings of one of the world's most popular programming
languages. It helps you learn Ruby in one of the easiest ways possible through 10 simple steps that will have you writing clear maintainable code in no time. Rather than bog you down with a lot of theory this course takes a hands-on approach and focuses on helping you learn Ruby so that you'reproductive on day one.

Whether you're new to programming or just new to Ruby this Ruby tutorial is your guide to rapid real-world software development withthis unique and elegant language.

Who uses Ruby?

Ruby is an incredibly powerful and highly scalable object-oriented language. Leading technology companies & startups around the world use Ruby or the Ruby on Rails framework to power their websites & web applications. They include:
* Amazon
* Twitter
* Electronic Arts
* Yahoo
* New York Times
* 37 Signals

* And many many more...

What Will I Learn?
  • Hours of video lectures detailing the ten steps to becoming an awesome Rubyist
  • Free eBook The Little Book of Ruby and exclusive discount for The (Big) Book of Ruby
  • Downloadable source codes and sample test files to complement lectures
  • 5 extra videos detailing Ruby on Rails, Symbols, Recursion, and other challenges
  • Interactive quizzes to let you test your understanding of the topics covered

Curriculum For This Course Expand All Collapse All 56 Lectures 05:59:13 + – Introduction 10 Lectures 34:19 Ruby Programming for Beginners - Intro Preview 01:55

Welcome to the course! This is a short introduction to the Ruby language and a few words about what you can expect from this course.

Welcome To Ruby Programming In Ten Easy Steps Preview 07:40

The Little Book Of Ruby (4th edition) is the 'course text'. It covers all the topics in this course in ten chapters. Click the download tab on the right to download a copy for offline reference. Be sure to download the code archive too (next lecture). This contains all the ready-to-run Ruby programs from each chapter.

The Little Book Of Ruby 101 pages

This code archive contains all the programs from The Little Book Of Ruby.

Little Book Of Ruby Code Archive 27.3 kB This document lists essential online resources for Ruby and summarises a few 'frequently asked questions' about running Ruby on different operating systems. If you have any questions about getting Ruby installed and running, please ask in one of the Discussion forums. I may update this document if users have additional 'getting started' questions or if you have any hints and tips that might helpful to other users. Getting Started FAQ And Resources 9 pages Subscribers to this course are entitled to a 30% discount off the price of my other Ruby programming book, The Book Of Ruby, published by No Starch Press. In around 400 pages, The Book Of Ruby goes into more advanced Ruby topics such as blocks and nameless functions, threads and fibers, self-modifyi… Exclusive Discount on The (Big) Book Of Ruby 01:14

First install a Ruby interpreter and a text editor or IDE. In this video I'll explain how to find and install the right interpreter for your operating system and I’ll show a couple of ways in which you can edit and run your Ruby programs.

Getting Ready Preview 04:27

If you are a Mac user, this video will guide you through the steps needed to write and run your first Ruby programs.

First Steps on a Mac 04:03

Here’s a quick tip that could save you a lot of time if you are running Ruby on a Mac. It explains how to use Finder to open a Terminal (for running Ruby programs) in any folder. Easy when you know how!

Mac users: quick tip - open a Terminal in any folder 02:23

If you haven’t done much (or any) programming before or if you need a quick revision of the basics of programming, start with this video. This explains the fundamental features of computer programming – how to use variables, constants, methods, arguments and more.

Programming Fundamentals 12:37 + – Step One 4 Lectures 26:51

Ruby can delimit strings with single quotes 'like this' or double quotes "like this". It turns out that double-quoted strings can do a special trick – they can evaluate embedded Ruby code. This lesson explains the fundamentals.

Step One - part one: Strings and embedded evaluation 05:33 See it in action: strings 00:47

An introduction to objects and methods. How to use the standard methods of Ruby objects and how to create objects with methods of their own.

Step One - part two: Objects and methods 06:44

Hands-on sessions are where I encourage you to get at your keyboard and try out bits of Ruby. This hands-on session doesn't introduce new concepts but it does give you some guidance on how to experiment with Ruby as an aid to your study.

Hands-on Session: Ruby basics 13:47 + – Step Two 3 Lectures 13:51

Now we’ll look at how multiple objects can be created from a class and we’ll see how to create and access ‘instance variables’ to store different data for each object.

Step Two - part one: Creating Classes and Objects 07:20 See it in action: classes and objects 01:10

How to initialize an object’s data at the time of creation using the initialize() method and how to look inside objects using the inspect() and p() methods.

Step Two - part two: Initializing & Inspecting Objects 05:21

Test your knowledge of the first two steps.

Step 1 and 2 Quiz 8 questions + – Step Three 3 Lectures 10:47

In this step you will learn how to create class hierarchies in Ruby so that descendent classes inherit the features of their ancestors.

Step Three - part one: Superclasses and Subclasses 05:48 See it in action: class hierarchies 01:13

This video summarizes the essentials of class inheritance in which different ‘branches’ of subclasses can descend from a common ancestor.

Step Three - part two: Class Hierarchies 03:46 + – Step Four 3 Lectures 08:44

We look at simple ways of creating 'attributes' to access instance variables without having to write 'getter' and 'setter' methods.

Step Four - part one: Attribute Readers & Writers 03:51 See it in action: attribute accessors 00:55

What is the difference between an @instance_variable and a @@class_variable? This video explains...

Step Four - part two: Class Variables 03:58 Test what you've learnt in steps 3 and 4. Step 3 and 4 Quiz 8 questions + – Step Five 5 Lectures 20:56

An introduction to creating arrays in Ruby, including arrays of mixed types. How to index a single array item and how to append arrays.

Step Five - part one: Arrays 05:23 See it in action: arrays 00:56

How to index multiple sequential elements in an array, how to specify ranges of elements, and how to iterate over array items.

Step Five - part two: Array indexing and iterating 06:50

Time to get back to your keyboard and do some hands-on coding. In this video I suggest that you copy and paste code from the documentation of Ruby's class library. That's a great way to learn about the classes and methods available!

Hands-on Session: Arrays 07:47 It’s time to do some ‘hands-on’ coding. Here are some ideas to get you started...
Ruby Programming Projects 5 pages + – Step Six 3 Lectures 12:45

Hashes (or 'dictionaries') let you create lists of objects indexed using a key – for example, a string key such as "chocolate cake" may index a value such as the cake’s recipe. This step explains the fundamentals of hashes.

Step Six - part one: Hashes 08:45 See it in action: hashes 01:29

Ruby can return arrays of all the keys and values found in a hash. You can then use array methods to add, delete, reverse and append one array to another.

Step Six - part two: Keys and Values 02:31

Test yourself on steps 5 and 6.

Step 5 and 6 Quiz 8 questions + – Step Seven 3 Lectures 10:58

How to repeat actions and iterate over collections using for and while loops and some special Ruby methods.

Step Seven - part one: Loops and Iterators 05:27 See it in action: loops 01:06

Ruby uses Blocks to perform iterative actions. But there is more to Blocks than meets the eye. In a sense, a Ruby Block is like a method without a name. This video explains.

Step Seven - part two: Blocks 04:25 + – Step Eight 3 Lectures 13:13

How to perform tests using 'if', 'elseif' and 'case' statements along with a number of operators to determine whether test conditions are true or false.

Step Eight - part one: Conditional Statements 06:21

Ruby has quite a few Boolean operators to test true/false values. They may look simple enough at first sight but be careful. They may not always work quite as you expect!

Step Eight - part two: Boolean operations 04:54 See it in action: conditional tests 01:58 Check what you've learnt in steps 7 and 8 with this quiz. Step 7 and 8 Quiz 6 questions + – Step Nine 3 Lectures 12:26

Modules let you wrap up code for easy reuse – they also provide some of the features of multiple inheritance without the complexities.

Step Nine - part one: Modules and Mixins 07:01 See it in action: modules 01:46

What is the difference between a local and a global variable? And when is a constant not a constant?

Step Nine - part two: Constants and variables 03:39 3 More Sections
  • Free schedule
Course properties:
  • Free:
  • Paid:
  • Certificate:
  • MOOC:
  • Video:
  • Audio:
  • Email-course:
  • Language: English Gb


No reviews yet. Want to be the first?

Register to leave a review

More on this topic:
10681_968c_6 Advanced Ruby Programming: 10 Steps to Mastery
Take your Ruby programming to the next level with Huw Collingbourne's simple...
48218_c913_9 Beginners Ruby Programming Training - No Experience Required
A Ruby Programming Course Training Video. Learn Real-World Programming Techniques...
More-height_2 Computer Security
Learn how to design secure systems and write secure code. In this class you...
134144_3d48_6 Ruby on Rails: Training and Skills to Build Web Applications
Designed for entrepreneurs who want to learn to code their own ideas. No prior...
82328_0f61_6 Learn VB.NET with Microsoft Visual Studio 2013
With Early Introduction to OOP (Reviews are From Old Version of Course)
More from 'Udemy':
Show?id=n3eliycplgk&bids=323058 Thousands of online courses for only $15
Most courses are dropped to $15 flat price!
Banner_ruby Ruby on Rails Tutorial: Learn From Scratch
This post is part of our “Getting Started” series of free text tutorials on...
Show?id=n3eliycplgk&bids=323058 $10 Sitewide Deal
$10 Fixed Price across the site!
64422_c6dd_6 1 Hour HTML
Learn how to code in HTML in 1 hour. This class is set up for complete beginners...
72262_60dc_6 1 hour jQuery
Have you ever wanted to learn to code. This course will show you the basics...

© 2013-2019