Ruby Essential Training: 1 The Basics

Ruby Essential Training: 1 The Basics

English | MP4 | AVC 1280×720 | AAC 48KHz 2ch | 4h 14m | 514 MB

Learn the fundamentals of Ruby, the popular object-oriented open-source programming language. Ruby is a great place to start learning programming or web development. It can be used to write interactive programs or build scripts to speed up common tasks. This course provides the basics that new and experienced developers need to know to start coding with Ruby. Instructor Kevin Skoglund begins by walking through the core object types: numbers, strings, symbols, booleans, and more. He demonstrate Ruby’s control structures, including conditionals, loops, and iterators. He explains scripting best practices and shows the power of using enumerables and code blocks. By the end of the course, you should be able to use Ruby to define your own custom methods with loops and conditional logic.

Topics include:

  • Installing Ruby
  • Examining each object type
  • Using conditionals and loops to trigger and repeat code
  • Scripting in Ruby
  • Writing custom code blocks
Table of Contents

Introduction
1 Learn the basics of Ruby
2 Get the most out of the course with the exercise files

Get Started with Ruby
3 Introducing Ruby
4 Install Ruby on a Mac
5 Install Ruby on Windows
6 Using Ruby
7 Interactive Ruby Shell IRB
8 Documentation

Ruby Object Types
9 Objects
10 Variables
11 Numbers – Integers
12 Numbers – Floats
13 Strings
14 Strings – Escaping and interpolation
15 Arrays
16 Array methods
17 Hashes
18 Symbols
19 Booleans
20 Ranges
21 Constants
22 Nil
23 Challenge – Roman numerals
24 Solution – Roman numerals

Control Structures
25 About control structures
26 Conditionals – if else elsif
27 Conditionals – unless
28 Conditionals – case
29 Conditionals – Shorthand operators
30 Loops
31 Iterators
32 Challenge – Blanket patterns
33 Solution – Blanket patterns

Ruby Scripting
34 Best practices
35 Exit a running script
36 Input and output
37 Challenge – Guessing game
38 Solution – Guessing game

Enumerables and Code Blocks
39 Enumerables
40 What is a code block
41 Find methods
42 Map methods
43 Inject methods
44 Sort methods
45 Merge methods
46 Challenge – Ruby blanks
47 Solution – Ruby blanks

Custom Methods
48 Define and call methods
49 Variable scope
50 Arguments
51 Argument default values
52 Return value
53 Return multiple values
54 Challenge – Pig Latin
55 Solution – Pig Latin

Conclusion
56 Next steps