From: jdwy Date: 2008-11-09T04:07:56+09:00 Subject: Re: named scope lambda string substitution problem ah! right you are. that solves the problem. That does seem like a weird ruby oddity. I wonder if there's a reason for it? Thanks, -Jeff On Nov 7, 4:34 pm, Mikael Høilund wrote: > foo :bar {} # doesn't work. > > use doend or parentheses around the arguments. > > -- 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})} > m...@example.net