Valid XHTML 1.0! Valid CSS!

Introduction to Ruby

  1. The Basics

    1. First steps
      1. First look at Ruby
      2. Ruby as a calculator
      3. Numbers in Ruby
        1. Integers
        2. Floats
      4. More operators
      5. Very large and very small numbers
      6. Exercises

    2. Strings
      1. Things you can do with strings
      2. More things to do with strings
      3. Exercises

    3. New names for old things
      1. Classes vs objects
      2. Class#method notation
      3. Converting between classes
      4. Exercises

    4. Variables
      1. What is a variable?
      2. Working with variables.
      3. Shortcuts
      4. Constans vs Variables
      5. Exercises

    5. Writing programs
      1. Hello World
      2. Another example
      3. Making programs executable
      4. Exercises

    6. Good programming techniques

  2. Flow Control

    1. Loops
      1. Counting
      2. A sum of numbers
      3. Multi-line statemets
      4. More examples
        1. Countig backwards
        2. Counting a variable number of times
      5. Exercises

    2. Getting user input
      1. That pesky newline!
      2. Back to our program
      3. Exercises

    3. Conditionals
      1. true and false
      2. Most common conditionals
      3. String comparisons
      4. elsif
      5. Example - fare_finder.rb
      6. Exercises

    4. While loops
      1. Counting
      2. Powers of 2
      3. Exercises

  3. More structures

    1. Arrays
      1. What is an array?
      2. for loops
      3. Some array methods

    2. Iterators
      1. Iterators as loops
      2. Integer iterators
      3. Array iterators
      4. Exercises

    3. Hashes
      1. What is a hash?
      2. Some hash methods
      3. Hash iterators
      4. Exercises


  4. Method Index