COMPLETE RUBY PROGRAMMING TRAINING COURSE DESCRIPTION
This course starts with a quick-start session and then explains the language in
detail from the bottom up. Hands on sessions follow all the major sessions to
reinforce the theory.
WHAT WILL YOU LEARN
* Read Ruby programs.
* Write Ruby programs.
* Debug Ruby programs.
COMPLETE RUBY PROGRAMMING TRAINING COURSE DETAILS
* Who will benefit:
Anyone wishing to program in Ruby.
* Prerequisites:
Software development fundamentals
* Duration
3 days
COMPLETE RUBY PROGRAMMING TRAINING COURSE CONTENTS
* Introduction
A tour of Ruby, Try Ruby, A suduko solver in Ruby.
* The Structure and execution of Ruby
Lexical structure, Syntactic structure, Files structure, Program encoding,
Program execution.
* Datatypes and objects
Numbers, text, Arrays, Hashes, Ranges, Symbols, True, false, and nil,
Objects.
* Expressions and operators
Literals and keyword literals, Variable references, Constant references,
Method invocations, Assignments, Operators.
* Statements and control structures
Conditionals, loops, Iterators and enumerable objects, Blocks, Altering flow
control, Exceptions and exception handling, BEGIN and END, Threads, fibres
and continuations.
* Methods, Procs, Lambdas and closures
Defining simple methods, Method names, Methods and parentheses, Method
arguments, Procs and lambdas, Closures, Method objects, Functional
programming.
* Classes and modules
Defining a simple class, Method visibility: public, protected, privates,
Subclassing and inheritance, Object creation and initialization, Modules,
Loading and requiring modules, Singleton methods and Eigenclass, Method
lookup, Constant lookup.
* Reflection and metaprogramming
Types, classes and modules, Evaluating strings and blocks, Variables and
constants, Methods, Hooks, Tracing, ObjectSpace and GV, Custom control
structures, Missing methods and missing constants, Dynamically creating
methods, Alias chaining.
* The Ruby platform
Strings, Regular expressions, Numbers and Math, Dates and times, Collections,
Files and directories, Input/output, Networking, Threads and concurrency.
* The Ruby environment
Invoking the Ruby interpreter, The Top-level environment, Practical
extraction and reporting shortcuts, Calling the OS, Security.