From: Nobuyoshi Nakada Date: 2008-09-30T09:45:01+09:00 Subject: Re: ruby1.9 block scope Hi, At Tue, 30 Sep 2008 09:10:39 +0900, Daniel DeLorme wrote in [ruby-talk:316386]: > class Foo define_method :bar do |;x| > x = 1 #I don't want x to be defined in the Foo scope > end define_method :baz do |;x| > x = 2 #because it would wind up shared with this method > end > end -- Nobu Nakada