Introduction to Coding with Ruby

Learn coding with Ruby - the easy, popular web programming language and gateway to Ruby on Rails
4.5 (99 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.
4,902 students enrolled
$19
$45
58% off
Take This Course
  • Lectures 66
  • Length 3.5 hours
  • Skill Level Beginner 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

Discover

Find online courses made by experts from around the world.

Learn

Take your courses with you and learn anywhere, anytime.

Master

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

About This Course

Published 7/2015 English

Course Description

LEARN HOW TO CODE IN JUST 2 WEEKS!

PRICE REDUCTION! With Udemy's new pricing structure right around the corner, this course is now just $49 :)

Find out why students are saying this is the best Ruby course they've ever taken!

* Latest Update: January, 16th 2016

Many people who try to switch to coding as a career don't make it. And you want to know the number 1 reason employers tell me? Its because they don't understand the basics.

You can become a coder. While it may seem like a totally foreign language, once you understand some of the underlying principles its actually quite easy - and fun!

Ruby is a fantastically powerful language used by startups and top companies like Airbnb and Twitter. And Unlike languages like Java, C# or Swift, it is relatively easy to learn. But let me tell you: as someone who has worked for years as a professional programmer and hired dozens of coders myself, understanding the basics is critical.

My Newbie to Ruby course if the first part of a series on becoming a professional programmer. It lays the foundations for web development using Ruby on Rails and will set you on a life changing career path. If you try to do Rails without knowing Ruby you will most likely fail.

Understanding Through Exercises & Drills

The course follows a simple pattern. I introduce a concept, give you an exercise and then go through the exercise in detail so that you can solidify your understanding. I also have dozens of additional drills with solutions to help you hone your skills.

Complete in 2 weeks

The course is broken up into 12 sections and you should be able to get through 1 section per evening if you're doing this part time. So all up you'll need about 2 weeks.

The Course will Cover

  • Methods
  • Predicates and Conditionals
  • Looping
  • Input and Output
  • Objects and Classes
  • Arrays, Hashes and other Data Structures
  • Math and much more

Get your coding career off to a flying start with my Newbie to Ruby course.

There has never been a better time to switch your career!

What are the requirements?

  • Any operating system
  • A text editor such as Atom or Sublime

What am I going to get from this course?

  • Write programs in Ruby
  • Use predicates and conditionals in Ruby
  • Use basic data structures like Array and Hash
  • Use basic types including String, Integer and Float
  • Understand Object Oriented Programming
  • Have a solid basis for learning Ruby on Rails

What is the target audience?

  • Beginner Programmers
  • Programmers who want to learn Ruby

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.

Curriculum

Section 1: Getting Started
02:45

What is Ruby and why is it awesome? What's the difference between Ruby and Ruby on Rails?

03:41

I go through how to install Ruby on a Mac with RVM or on a PC with the Ruby Installer

06:35

Write your first program!

01:25

I'll take you through a solution to the exercise in the previous video.

Section 2: Basics
03:15

Learn how to print to the screen and how to capture input from a user.

03:41

Variables are a fundamental topic in Ruby. Make sure you don't skip this one!

01:55

Understand the different types of numbers in Ruby and how they're useful.

01:58

Comments make your code more readable. Make sure you learn how to comment properly!

02:47

Basic flow control in programs using "if" and conditions.

05:06

More detail on if and I also introduce "unless" and their inline forms.

04:10

Solutions to the chatbot exercise.

01:48

I introduce Interactive Ruby or "IRB" and how it can help you in the learning and development process.

Section 3: Methods
03:02

Methods are reusable snippets of code and make your programs far more powerful.

04:36

What are method return values and how do you use them?

03:31

Solution to the exercise in the previous video.

Section 4: Math
02:36

How to do math in Ruby

01:17

Solution to the exercise in the previous video

01:54

Rounding and why you should care

01:50

How to format numbers properly. No more 1.3532534574764765

04:39

Solution to the previous exercise

01:25

Using the Math module to calculate sin, cos etc and built in constants like Pi.

05:42

Solution to the previous exercise.

Section 5: Strings
03:48

Common string methods and functions, indexing and the makeup of a string

02:04

Solution to the previous exercise.

02:44

Yep. You can do math with strings! And its actually pretty useful.

01:17

This is a big one. Modify, replace or filter strings intelligently.

Section 6: Arrays
04:11

Keep a list of things in Ruby. How to create an array and access its elements.

01:45

Solution to the previous exercise.

03:48

Using Arrays in practice. Find out how we can loop through arrays, or use iteration to convert arrays on the fly.

04:23

Solution to the previous exercise.

07:30

Block methods take some time to get your head around but trust me, you'll love them. They are very powerful!

09:16

Solutions to the previous exercise.

Section 7: Loops and Ranges
02:50

Do things many times. You can also use looping to say, sum an array of integers.

02:42

Solutions to the previous exercise.

03:45

Ranges use two numbers, characters or other types to specify a series of possible values. Imagine an age range for example. See how powerful they can be.

07:54

Solutions to the previous exercise.

Section 8: Hashes
05:26

How to create a hash and set or get items from it.

02:05

Solutions to the previous exercise.

04:17

Some of the feature of hash and how they're useful.

02:32

Solution to the previous exercise.

Section 9: Symbols
01:58

We'll introduce symbols and their usage in hashes

02:57

Solution to the previous exercise.

Section 10: Objects
05:50

Understand what an object is and how Ruby tries to reflect the real world.

01:20

Solution to the previous exercise.

03:08

Create a new object with the initialize method. Create your own constructor.

02:02

Solution to the previous exercise.

01:39

How to define your own action methods on an object.

01:10

Solution to the previous exercise.

03:44

Instance variables and their usage in objects. Also, I compare them to regular variables.

02:18

Solutions to the previous exercise.

04:03

Understand your code better and perform debugging with inspect. How to define your own inspect and to_s methods.

02:01

Solution to the previous exercise.

Section 11: Time
04:37

Using Time.now, its attributes and methods.

01:44

Solutions to the previous exercise.

01:59

Create specific time and date objects

01:27

Solutions to the previous exercise.

03:00

Seconds since the epoch, time intervals and calculations, sleep.

02:42

Solutions to the previous exercise.

Section 12: Inheritance
02:13

In this lecture we go through a 5 part exercise to help understand objects, composition and the motivation behind inheritance. It's one of the most important lectures in the series.

You should attempt to do all of the exercises before moving forward but if you get stuck you can check out the solutions in the subsequent videos.

02:17

Part 1 of the solutions to the previous video exercise.

01:27

Part 2 of the solutions to the previous video exercise.

00:31

Part 3 of the solutions to the previous video exercise.

02:20

Part 4 of the solutions to the previous video exercise.

02:06

Part 5 of the solutions to the previous video exercise.

04:32

In this lecture we introduce inheritance and how it can be applied to your code in the previous lessons.

03:17

Solution showing inheritance approach to the 5 part exercise.

Students Who Viewed This Course Also Viewed

  • Loading
  • Loading
  • Loading

Instructor Biography

Dan Draper, Entrepreneur, Technology Communicator

In my career I've been on several tech startup journeys. I've enjoyed the highs and endured the epic lows of being an entrepreneur. And having learned to code from an early age I now have over 20 years of coding experience.

The world needs more coders and the way in which many companies work with coders needs to change. I'm dedicating my career to these pursuits though my company Codehire and its sister site CODR TV.

Codehire's mantra is Inspire, Teach, Hire and focusses on bridging the gap between learning and early stage coders and those who have chosen to code as a career.

Ready to start learning?
Take This Course