From: Lars Christensen Date: 2008-07-28T21:12:28+09:00 Subject: Re: Is there a better way to do this wxPython example in Ruby? On Jul 27, 5:16 am, Wayne Magor wrote: > Python example using wxPython: > >         self.buildOneButton(panel, "FIRST", self.OnFirst) I think the most direct translation of the Python code would be: build_one_button(panel, "FIRST", method(:on_first)) Simpler than the block wrapper, IMO, and more efficient. Lars