From: "Mikael Høilund" Date: 2008-08-09T02:52:26+09:00 Subject: Re: ruby wish-list Perhaps a bit controversial, but I'd like to see a keyword for the “current block” as a way to refer to the Proc instance created inside that block. That would allow for recursive anonymous blocks like: [[1,2,[3]],[[[5],6],7],8].map { |e| Array === e ? e.map(¤t_block) : e.to_s } without resorting to ugly syntax like [[1,2,[3]],[[[5],6],7],8].map &(deep_to_s = proc { |e| Array === e ? e.map(&deep_to_s) : e.to_s }) -- instance_variable_set(%@\@%sample@%%@ew@.succ, Class.new(&proc{def self.net;$;, $/='','/';%;.fqn- cmtkhng;end}));Kernel.send(:"define_method",:method_missing){| n,$_|$_<<"?kd!jhl";n=split.map{|q|q.succ}*'';puts n.reverse.chomp.tr(* %w{" a})} me@example.net