Iowa Ruby Brigade

Organizational Meeting

September 20, 2007

Welcome to the first meeting of the Iowa Ruby Brigade. Introduce self.

Agenda

Organizational Meeting

Getting Started with Ruby

What is Ruby?

A dynamic, open source programming language created by Yukihiro Matsumoto ("Matz") and first released in 1995.

Ruby is also...

"[M]ore powerful than Perl, and more object-oriented than Python." --Matz

Ruby Community

Installing Ruby

See the resources available at www.ruby-lang.org.

Be sure to install Ruby Gems.

Ruby and it's World

Ruby Language

Show me the code!

Most of the code we looked at was based on the Ruby in Twenty Minutes tutorial.

Here is the Hpricot example we saw at the end.

  #!/usr/bin/env ruby

  require 'rubygems'
  require 'hpricot'
  require 'open-uri'

  doc = Hpricot(open("http://www.nytimes.com/"))
  headlines = doc.search("h1, h2, h3, h4, h5, h6")
  headlines.each do |h|
    puts h.innerText.strip
  end

Recommended Reading

Programming Ruby Programming Ruby: The Pragmatic Programmers' Guide, 2nd ed. ("PickAxe") (2005), Dave Thomas, et al.
Agile Web Development with Rails Agile Web Development with Rails, 2nd ed. (2006), Dave Thomas, David Heinemeier Hannson, et al.
Ruby for Rails Ruby for Rails (2006), David A. Black
The Ruby Way The Ruby Way (2007), 2nd ed., Hal Fulton

Thank You!

Next Meeting