Im not sure I fully understand..

But..

def foo(baz)
  baz
end

def bar
  foo(yield)
end

bar { 'fubar' }
#=> fubar

Perhaps?


Regards,
Lee

-- 
Posted via http://www.ruby-forum.com/.