DFFlanders / ruby-tutorial

:mortar_board: Tutorial about Ruby Programming Language. Help beginners easy to learn Ruby step by step.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ruby Programming Tutorial

  • 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.

Table of contents

  • Getting Started

    • Introduction
    • Installation
    • Running Ruby
    • Official Documents
  • Variables

    • What is a variable?
    • Examples
  • Constants

    • What is a constant?
    • Example
    • Tips
  • Comments

    • What is a comment?
    • Single line comments
    • Multiline comments
  • Strings

    • What is a String in Ruby?
    • Interpolation
    • Indexing
    • Common methods
  • Numbers

    • Integers
    • Floats
    • Operaters
    • Convert numbers
  • True, False and Nil

  • Symbols

    • What is a symbol in Ruby?
    • Examples
    • Common methods
  • Blocks

    • What is a block in Ruby?
    • Examples
    • Variables for block
  • Arrays

    • Create an Array
    • Indexing
    • Accessing elements
    • Iteration
    • Common methods
  • Range

    • Create a Range
    • Iteration
    • Common methods
  • Hashes

    • Create a Hash
    • Accessing value by key
    • Iteration
    • Common Uses
  • Date & Time

  • Control Flow

    • if
    • else
    • elsif
    • unless
    • case
  • Methods

    • Defining a method
    • Default parameters in method
  • Classes

    • Defining a Class
    • Constructor
    • Accessing methods levels
    • Accessing instance variables
  • Module

    • Mixin
    • Module as Namespace
    • Modules and Class Composition

About

:mortar_board: Tutorial about Ruby Programming Language. Help beginners easy to learn Ruby step by step.