-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

IƱaki Baz Castillo wrote:

| Oh, that seems really interesting, but unfortunatelly I can't
| unerstand at all what yuo do there.
| Specially I don't understand the meaning of first two lines:
|
|   object = Object.new
|   class << object
|
| What does that "class" mean??

it's the class keyword to define classes.

class << object
~  # stuff here
end

extends the object instance on the spot, instead of, for example,
re-creating 'object' / inheriting from another class (like Array), and
extending your child.

- --
Phillip Gawlowski
Twitter: twitter.com/cynicalryan
Blog: http://justarubyist.blogspot.com

~   "When life gives you a lemon, make lemonade." -Susie "I say, when
life gives you a lemon, wing it right back and add some lemons of your
own!" -Calvin
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkgYfsUACgkQbtAgaoJTgL/bigCglTM/NCalvkJ+XWzjGPg2v2Cn
1o8AnRUAjt9JDN3NjnTf5C1AeMc6l906
=L5yX
-----END PGP SIGNATURE-----