- This tutorial helps beginners easy to learn and approach Ruby step by step.
- It is designed basically but still has enough important knowledge to learn about Ruby on Rails.
-
- Introduction
- Installation
- Running Ruby
- Official Documents
-
- What is a variable?
- Examples
-
- What is a constant?
- Example
- Tips
-
- What is a comment?
- Single line comments
- Multiline comments
-
- What is a String in Ruby?
- Interpolation
- Indexing
- Common methods
-
- Integers
- Floats
- Operaters
- Convert numbers
-
- What is a symbol in Ruby?
- Examples
- Common methods
-
- What is a block in Ruby?
- Examples
- Variables for block
-
- Create an Array
- Indexing
- Accessing elements
- Iteration
- Common methods
-
- Create a Range
- Iteration
- Common methods
-
- Create a Hash
- Accessing value by key
- Iteration
- Common Uses
-
- if
- else
- elsif
- unless
- case
-
- Defining a method
- Default parameters in method
-
- Defining a Class
- Constructor
- Accessing methods levels
- Accessing instance variables
-
- Mixin
- Module as Namespace
- Modules and Class Composition