>>>>> "H" == Hal E Fulton <hal9000 / hypermetrics.com> writes: H> def with(obj,*args,&blk) H> obj.instance_eval &blk H> end H> @foo, @bar = 34,45 H> with(some_obj,@foo,@bar) do |x,y| H> @foo = x + y H> end Euh, what version of ruby are you using ? Guy Decoux