Books & Videos

Table of Contents

  1. Chapter 1 Interactive Ruby and the Ruby Environment

    1. Starting irb

    2. Using irb

    3. Using the Ruby Interpreter and Environment

  2. Chapter 2 Amusements and Simple Utilities

    1. #1 Is It Payday? (check_payday.rb)

    2. #2 Random Signature Generator (random_sig.rb and random_sig-windows.rb)

    3. #3 The 99 Bottles of Beer Song (99bottles.rb)

    4. #4 Sound File Player (shuffle_play.rb)

    5. Chapter Recap

  3. Chapter 3 Programmer Utilities

    1. #5 What Is Truth? (boolean_golf.rb)

    2. #6 Making a List (array_join.rb)

    3. #7 Command-Line Interface (uses_cli.rb and simple_cli.rb)

    4. #8 Palindromes (palindrome.rb and palindrome2.rb)

    5. Chapter Recap

  4. Chapter 4 Text Manipulation

    1. #9 End-of-Line Conversion (dos2unix.rb)

    2. #10 Showing Line Numbers (line_num.rb)

    3. #11 Wrapping Lines of Text (softwrap.rb)

    4. #12 Counting Words in a File (word_count.rb)

    5. #13 Word Histogram (most_common_words.rb)

    6. #14 Rotating Characters in a String (rotate.rb)

    7. Chapter Recap

  5. Chapter 5 Number Utilities

    1. #15 Computing Powers (power_of.rb)

    2. #16 Adding Commas to Numbers (commify.rb)

    3. #17 Roman Numerals (roman_numeral.rb)

    4. #18 Currency Conversion, Basic (currency_converter1.rb)

    5. #19 Currency Conversion, Advanced (currency_converter2.rb)

    6. Chapter Recap

  6. Chapter 6 Functionalism with Blocks and Procs

    1. #20 Our First lambda (make_incrementer.rb)

    2. #21 Using Procs for Filtering (matching_members.rb)

    3. #22 Using Procs for Compounded Filtering (matching_compound_members.rb)

    4. #23 Returning Procs as Values (return_proc.rb)

    5. #24 Nesting lambdas

    6. #25 Procs for Text (willow_and_anya.rb)

    7. Chapter Recap

  7. Chapter 7 Using, Optimizing, and Testing Functional Techniques

    1. #26 Basic Factorials and Fibonaccis (factorial1.rb through fibonacci5.rb)

    2. #27 Benchmarking and Profiling (tests/test_opts.rb)

    3. #28 Converting Temperatures (temperature_converter.rb)

    4. #29 Testing temperature_converter.rb (tests/test_temp_converter.rb)

    5. Chapter Recap

  8. Chapter 8 HTML and XML Tools

    1. #30 Cleaning Up HTML (html_tidy.rb)

    2. #31 Counting Tags (xml_tag_counter.rb)

    3. #32 Extracting Text from XML (xml_text_extractor.rb)

    4. #33 Validating XML (xml_well_formedness_checker.rb)

    5. Chapter Recap

  9. Chapter 9 More Complex Utilities and Tricks, Part I

    1. #34 Finding Codes in the Bible or Moby-Dick (els_parser.rb)

    2. #35 Mutating Strings into Weasels (methinks.rb)

    3. #36 Mutating the Mutation of Strings into Weasels (methinks_meta.rb)

    4. Chapter Recap

  10. Chapter 10 More Complex Utilities and Tricks, Part II

    1. #37 Overnight DJ (radio_player1.rb)

    2. #38 Better Overnight DJ (radio_player2.rb)

    3. #39 Numbers by Name (to_lang.rb)

    4. #40 Elegant Maps and Injects (symbol.rb)

    5. Chapter Recap

  11. Chapter 11 CGI and the Web

    1. Common Gateway Interface

    2. Preparation and Installation

    3. #41 A Simple CGI Script (simple_cgi.rb)

    4. #42 Mod Ruby (mod_ruby_demo.rhtml and mod_ruby_demo.conf)

    5. #43 CSS Stylesheets, Part I (stylesheet.rcss)

    6. #44 CSS Stylesheets, Part II (stylesheet2.rcss)

    7. Chapter Recap

  12. Chapter 12 RubyGems and Rails Preparation

    1. RubyGems

    2. Rails Preparation

    3. Chapter Recap

  13. Chapter 13 A Simple Rails Project

    1. Creating the Application

    2. Dissecting the Application

    3. Using the Application

    4. Learning More About Rails

    5. Chapter Recap

  1. Appendix How Does Ruby Compare to Other Languages?

    1. C

    2. Haskell

    3. Java

    4. Lisp

    5. Perl

    6. PHP

    7. Python

    8. Smalltalk

    9. Summary of Ruby vs. Other Languages

  2. Colophon