Johann Hibschman <johann / physics.berkeley.edu> writes:

> Very nice.  Could you perhaps explain the %{ } form?  I don't know
> that one.  Is it another string literal, like %q{ ... }?

Ruby has a set of general delimited thingies (strings, regexps,
etc). The %{...} form is a double quoted string. The delimiters can be 
either matching brackets, braces, parentheses, and '<' '>', or they can 
be any arbitrary character:

   %{string}
   %{ string { note { the { nesting } } } }
   %/string/

There are 5 forms in all: have a look at

   http://www.rubycentral.com/book/language.html

You'll find it about two page-downs down :)


Regards


Dave