Ruby Fundamentals

Description

This 3 day course covers the fundamental components of the Ruby Programming Language. Emphasis is placed on the object oriented aspects of Ruby. Topics include arrays, hashes, regular expressions, io, exceptions, modules, and applications areas.

This course is for those who are experienced in programming in languages such as, but not limited to, C, C++, Java, or Perl

Prerequisites

Students should have at least six months of programming experience in at least one programming language.

What’s included?

  • Authorized Courseware
  • Intensive Hands on Skills Development with an Experienced Subject Matter Expert
  • Hands on practice on real Servers and extended lab support 1.800.482.3172
  • Examination Vouchers & Onsite Certification Testing- (excluding Adobe and PMP Boot Camps)
  • Academy Code of Honor: Test Pass Guarantee
  • Optional: Package for Hotel Accommodations, Lunch and Transportation

With several convenient training delivery methods offered, The Academy makes getting the training you need easy. Whether you prefer to learn in a classroom or an online live learning virtual environment, training videos hosted online, and private group classes hosted at your site. We offer expert instruction to individuals, government agencies, non-profits, and corporations. Our live classes, on-sites, and online training videos all feature certified instructors who teach a detailed curriculum and share their expertise and insights with trainees. No matter how you prefer to receive the training, you can count on The Academy for an engaging and effective learning experience.

Methods

  • Instructor Led (the best training format we offer)
  • Live Online Classroom – Online Instructor Led
  • Self-Paced Video

Speak to an Admissions Representative for complete details

Curriculum

An Introduction to Ruby
• What is Ruby?
• Installing Ruby Executing Ruby Code Getting Help
• Dynamic Types
• Ruby Reserved Words
• Naming Conventions

Standard Ruby Data Types
• Numbers
• Strings
• Simple Input and Output
• Converting String Input
• Regular Expressions
• Time Methods

Language Components
• The if Statement
• The case Construct
• Loops
• Iterators
• Numeric Iterators
• String Iterators
• Methods
• Odds and Ends

Collections
• Arrays
• Array Operator Methods
• Array Equality Operator
• Arrays as Stacks and Queues
• Higher Dimensional Arrays
• Other Useful Arrays Methods
• Command Line Arguments
• Hashes
• Common Hash Methods
• Sorting Hashes
• Iterators with Arrays and Hashes
• Arrays and Methods
• Hashes and Methods
• Named Parameters
• Symbols
• Procs
• Closures

Classes
• Objects
• Brief History of OOP
• OOP Vocabulary
• Creating a New Class
• Using Objects
• Defining Operator Methods
• Inheritance
• Ancestors
• self
• Access Levels – public
• Access Levels – private
• Access Levels – protected
• Access Levels – Specification
• Class Data and Class Methods
• Adding Methods to Classes and Objects
• Special Global Variables
• Scope of Variables
• Built-in Classes
• The Math Class
• The NilClass Class
• TrueClass and FalseClass
• Built-in Class Hierarchy

Input and Output
• Introduction
• 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
• Seeking About Files
• tell
• Capturing Data About Files
• Processing Directories

Exceptions
• Introduction
• Exception Hierarchy
• Handling Exceptions
• Multiple Rescue Clauses
• Exceptions are Classes
• ensure
• retry
• raise
• Creating Your Own Exceptions
• catch and throw

Modules
• Introduction
• Using Core Ruby Classes
• Ruby Standard Library
• require
• Search Path
• File Organization
• load
• Modules
• include
• Mixins
• Using the Comparable Module
• Collection Classes
• yield
• Using the Enumerable Module

Odds and Ends
• Ruby Conventions
• Bit Manipulation
• Substituting
• Marshalling
• Reflection
• grep
• Classes are Objects
• Aliasing
• Testing
• Test::Unit::TestCase
• Testing Your Own Classes
• Freezing Objects
• Object Equality

Enrolled