Robert Pankowecki wrote:
> Working, but i want to avoid this solution:
> 
> irb(main):007:0> pr.call 123, Proc.new{puts "xyz"}

Yes, that's what you need - to pass the block as an explicit argument.
-- 
Posted via http://www.ruby-forum.com/.