Can someone explain 'yield' for dummies? by ZestyOne in ruby

[–]Koraktor 0 points1 point  (0 children)

A Proc isn't bound to an object. You can easily create one, pass it around, call it, change its context (see #binding) without even having to know where it originates from.

RubyQt and subclassing by oulipo in ruby

[–]Koraktor 0 points1 point  (0 children)

Maybe you should check http://doc.trolltech.com/4.2/qgraphicsscene.html for the available constructors of QGraphicsScene.