Learn Ruby

Learn Ruby by actually writing Ruby code

Table of Contents

Show Exercises

1.Getting started

2.Displaying on Screen

3.String

4.Array

5.Variables

6.Convert String into Array

7.If Else

8.Range

9.Hash

10.Comprehensive Exercises

11.Number

12.What is nil

13.Symbol

14.Advanced Array

15.Hash

16.Comments

17.Regular expressions

18.Comprehensive Exercises

19.Class

20.Instance Method

21.Instance Variable

22.Returning value from a method

23.Initialize Method

24.attr_reader writer and accessor

25.Required and default arguments

26.dig and safe

27.Blocks, Procs and Lambda

28.Module

29.Enumerable

30.Inject

31.Symbol to proc

32.Ruby way