Ruby Programming Tutorials : Part - 2

Smartherd Developers, Make Learning Fun & Easy

Play Speed
  • 0.5x
  • 1x (Normal)
  • 1.25x
  • 1.5x
  • 2x
14 Lessons (3h 41m)
    • 1. Arrays and it's Fundamentals

      8:52
    • 2. Arrays Part - 2 || In - Built Methods and Operations

      10:37
    • 3. Arrays Part - 3 || Learn Arrays Methods Operations

      12:40
    • 4. 2D Array Concept, Fundamentals & Codes

      9:54
    • 5. 2D Array Part -2 || in - Built Functions and Operations

      4:21
    • 6. Hash Part - 1 || Assoc( ), Delete( ), Empty( ), Clear( ), Eql( ), Has Value( ) : InBuilt Methods

      7:00
    • 7. Hash Part - 2 || Print all Keys and Value using INSPECT method using Four Different types of Loops

      11:21
    • 8. Hash part - 3 || Fetch( ), Value_at( ), include?, has_value( ), clear( ), empty? Methods

      11:31
    • 9. Hash Part - 4 || assoc( ), reassoc( ), delete( ), merge( ), merge!, update( ) Methods

      12:21
    • 10. Random Numbers in Ruby

      9:05
    • 11. Inheritance in Ruby || Conceptual Description

      6:01
    • 12. Inheritance Part - 2 || How to Access variables and methods

      4:05
    • 13. Inheritance Part - 3 || Access Constructor, Methods, and use of Self.class

      8:07
    • 14. Method Overriding || Inheritance Part - 4

      8:04

Project Description

Learn Ruby Fundamentals

The following are the projects that you are going to make and learn through these videos :-

1. Arrays Basics & fundamentals.

  • Define 1D Array
  • Define 2D Array
  • Learn various methods in Array Such as - append, trim, concat, join, find a substring, replace a substring, delete an element from a position etc.

2. Hash

  • How to initialize it using three different methods.
  • Various predefined methods such as - Assoc, Reassoc, Merge, Update, Shift, Has Value, Delete, Delete If, Empty, Clear, Eql, Include, fetch, Value at etc.
  • Print all keys and values pair using INSPECT and 4 types of LOOPS.
  • Use of INVERT method. All with codes.

3. Random Numbers

  • Generate Random Number with a demo Project.

4. Menu - A practise Exercise

  • A example codes containing codes for CLASS, GETTER, WHILE loop, and CASE WHEN statements.

5. Inheritance in Ruby.

  • How to access variables and methods with Codes.
  • How to access Constructor, Methods and use of SELF.CLASS. 

6. Method Overriding well explained with codes in context of inheritance.

7. Operator overloading

  • Concept of operator overloading using "+" method.
  • Operator Overloading using comparable operators.

8. Freezing Objects

  • How to Freeze a class object.
  • How to check whether it is frozen?

9. Linguistics

  • Convert a number into numwords.
  • Convert a word into plural form and also into present and past participle.

10. Procs and Lambda

  • Ways to define proc object.
  • Convert a Block into a proc object.
  • Procs object creation and also normal lambda creation.
  • Miscellaneous concepts related to Procs
  • Use of ARITY() method in procs, its conceptual fundamentals.
  • Difference between Procs and Lambda using CONTROL FLOW KEYWORDS.

11. Time and Dates

  • Basics and fundamental explanation of Time and Date in Ruby.
  • Syntax and Classes used to get Time and Date.
  • Various operations on Time.
  • Date class and DateTime class. Their differences and codes.
  • Formatting Date and Time in a way a programmer want to print.

Student Projects