From: ts Date: 2000-06-20T09:18:59+02:00 Subject: [ruby-talk:03550] Re: function objects? >>>>> "D" == Dave Thomas writes: D> In Python, I believe the parentheses are needed to distinguish a D> method call. In some case, you need `()' to distinguish a kDO2 from a kDO, for example in Tk (if I'm right) TkFrame.new() do |f| # ... end.pack but TkFrame.new { |f| # ... }.pack Guy Decoux