More OSCON stuff

Check out the slides for Michael Granger and David McCorkhill’s
"Data-Driven Classes in Ruby" at:
http://www.rubycrafters.com/

Lots of intersting Ruby code in these slides, like:

Class::new( Adapter ) {
@dbh = dbh; @table = table; @primaryKey = pkey
class << self
attr_reader :dbh, :table, :primaryKey
end
}

… that’s gnarly ( I mean in a good way :slight_smile: I didn’t know that Class::new
took a block in 1.8 (anyone know where I can find docs on this, didn’t
find anything on the wiki).

Phil