Course Duration: 5 Days
Course Outline:
  • Standard Ruby Data Types
    • Installing Ruby
    • Executing Ruby Code
    • Getting Help
    • Dynamic Types
    • Ruby Reserved Words
    • Naming Conventions
    • Comments
    • Strings
    • Simple Input and Output
    • Converting String Input
    • Regular Expressions

 

  • Flow Control
    • The if Statement
    • The case Construct
    • Loops
    • Blocks and Iterators
    • Numeric Iterators
    • String Iterators
    • Methods

 

  • Containers
    • Arrays
    • Array Operator Methods
    • Array Equality Operator
    • Arrays as Stacks and Queues
    • Other Useful Arrays Methods
    • Command Line Arguments
    • Hashes
    • Common Hash Methods
    • Sorting Hashes
    • Iterators with Arrays and Hashes
    • Arrays and Methods
    • Hashes and Methods
    • Symbols
    • Closures, Procs and lambdas

 

  • Classes
    • Objects
    • OOP Vocabulary
    • Creating a New Class
    • Using Objects
    • Defining Operator Methods
    • Inheritance
    • self
    • Access
    • Class Data and Class Methods
    • Adding Methods to Classes and Objects
    • Special Global Variables
    • Scope of Variables
    • Built-In Classes
    • Meta Programming

 

  • Modules
    • Introduction
    • Using Core Ruby Classes
    • Ruby Standard Library
    • require
    • File Organization
    • load
    • include
    • Mixins

 

  • Exceptions
    • Introduction
    • Exception Hierarchy
    • Handling Exceptions
    • Multiple Rescue Clauses
    • Exceptions Are Classes
    • ensure
    • retry
    • raise
    • Creating Your Own Exceptions
    • Catch and Throw

 

  • Meta Programming
    • class_eval
    • instance_eval
    • method_missing
    • respond_to

 

  • Input and Output
    • Reading from the Standard Input
    • Reading a Character at a Time
    • Writing to the Standard Output
    • Reading and Writing Disk Files
    • Reading Files Using Iterators
    • I/O With Command Line Commands

 

  • Testing
    • Unit Testing
    • Mini Test
    • Mocks and Stubs
    • YAML
    • Factory Girl
    • Integration Testing
    • Behavior-Driven Development
    • Stories
    • Using Cucumber
    • Feature
    • Scenarios
    • Gherkin
    • Multiple Scenarios
    • Data Tables
    • Using Mocks and Stubs